public final class DefaultLayoutStyle extends Object implements LayoutStyle
Constructor and Description |
---|
DefaultLayoutStyle() |
Modifier and Type | Method and Description |
---|---|
boolean |
copyFrom(LayoutStyle style)
Attempts to copy the supplied style information into this style object and returns a success code indicating if the
copy was performed.
|
DefaultLayoutStyle |
createCopy() |
void |
dispose() |
Object |
getReference() |
CSSValue |
getValue(StyleKey key) |
boolean |
isEmpty() |
void |
setReference(Object reference) |
void |
setValue(StyleKey key,
CSSValue value) |
public Object getReference()
public void setReference(Object reference)
public CSSValue getValue(StyleKey key)
getValue
in interface LayoutStyle
public void setValue(StyleKey key, CSSValue value)
setValue
in interface LayoutStyle
public void dispose()
public DefaultLayoutStyle createCopy()
public boolean isEmpty()
public boolean copyFrom(LayoutStyle style)
copyFrom
in interface LayoutStyle
style
- the style information to be copied into this style holdertrue
if the copy was performed, false
otherwise