public interface Stylable
Modifier and Type | Method and Description |
---|---|
default void |
clearCachedStyle()
Clears the cached style.
|
void |
declareCachedStyleUpToDate()
Declare that the cached style for this primitive is up to date.
|
StyleCache |
getCachedStyle()
Returns the cached style.
|
boolean |
isCachedStyleUpToDate()
Check if the cached style for this primitive is up to date.
|
void |
setCachedStyle(StyleCache mappaintStyle)
Sets the cached style.
|
StyleCache getCachedStyle()
void setCachedStyle(StyleCache mappaintStyle)
mappaintStyle
- the cached styledefault void clearCachedStyle()
boolean isCachedStyleUpToDate()
void declareCachedStyleUpToDate()