|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectLayer
StyleLayer
public abstract class StyleLayer
Layer responsible for rendering under control of a user supplied Style object.
The StyleLayer is expected to be subclassed; and is responsible for:
Field Summary | |
---|---|
protected Style |
style
Style used for rendering |
Fields inherited from class Layer |
---|
listenerList, LOGGER, selected, title, userData, visible |
Constructor Summary | |
---|---|
StyleLayer(Style style)
Creates a new instance of StyleLayer |
|
StyleLayer(Style style,
String title)
|
Method Summary | |
---|---|
void |
dispose()
Allows a Layer to clean up any listeners, or internal caches or resources it has added during use. |
Style |
getStyle()
Get the style for this layer. |
void |
setStyle(Style style)
Sets the style for this layer. |
Methods inherited from class Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Style style
Constructor Detail |
---|
public StyleLayer(Style style)
style
- the style used to control drawing of this layerpublic StyleLayer(Style style, String title)
Method Detail |
---|
public void dispose()
Layer
dispose
in class Layer
public Style getStyle()
If style has not been set, then null is returned.
getStyle
in class Layer
public void setStyle(Style style)
style
- The new style
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |