|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectLabelViewer
public class LabelViewer
Allows editing/viewing of a Style Layer Descriptor "TextSymbolizer".
Here is the pretty picture:
+-+ +------------+ +------+ +------+
Label: |x| | title\/| | Font | |Offset|
+-+ +------------+ +------+ +------+
or
+-+ +------------+ +------+ +------+ +------+ +--------+
Label: |x| | title\/| | Font | |VAlign| |HAlign| |Rotation|
+-+ +------------+ +------+ +------+ +------+ +--------+
Workflow:
Constructor Summary | |
---|---|
LabelViewer()
|
Method Summary | |
---|---|
void |
addListener(SelectionListener listener1)
Accepts a listener that will be notified when content changes. |
Composite |
createControl(Composite parent,
KeyListener klisten)
|
protected void |
fire(SelectionEvent event)
|
TextSymbolizer |
get(StyleBuilder build)
Constructs a TextSymbolizer from the inputs |
void |
listen(boolean listen)
|
void |
removeListener(SelectionListener listener1)
Remove listener. |
void |
set(SimpleFeatureType schema,
TextSymbolizer sym,
Mode mode)
Start editing the provided symbolizer. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LabelViewer()
Method Detail |
---|
public void addListener(SelectionListener listener1)
listener1
- public void removeListener(SelectionListener listener1)
listener1
- protected void fire(SelectionEvent event)
public TextSymbolizer get(StyleBuilder build)
build
-
public void set(SimpleFeatureType schema, TextSymbolizer sym, Mode mode)
schema
- sym
- mode
- public void listen(boolean listen)
public Composite createControl(Composite parent, KeyListener klisten)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |