|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.event.AbstractGTComponent
Provides basic StyleEvent notification, may be used in conjuction with StyleList during event handling.
This class has package scope to prevent user code mistaking it for something important. It is only used to assist in the construction of this one implementation of StyleEvents. Basically this is NOT API :-)
Field Summary | |
protected GTNote |
notification
|
Constructor Summary | |
AbstractGTComponent()
|
Method Summary | |
void |
changed(GTDelta childDelta)
Used to pass on "We changed" notification from children. |
protected java.lang.Object |
clone()
|
protected void |
fireChanged()
Simple notification that we changed. |
protected void |
fireChildChanged(java.lang.String name,
java.lang.Object child,
java.lang.Object oldValue)
Create a child delta and send it off. |
GTNote |
getNote()
|
GTComponent |
getParent()
Used to locate our parent. |
void |
removed(GTDelta childDelta)
Used to pass on "something is about to change" notification from children. |
void |
setNote(GTNote container)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected GTNote notification
Constructor Detail |
public AbstractGTComponent()
Method Detail |
protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public void removed(GTDelta childDelta)
removed
in interface GTComponent
childDelta
- object containing change informationpublic void changed(GTDelta childDelta)
changed
in interface GTComponent
childDelta
- object containing change informationprotected void fireChanged()
Change will be passed on to parent.changed( delta ).
protected void fireChildChanged(java.lang.String name, java.lang.Object child, java.lang.Object oldValue)
Use this for changes to simple types like int and Color.
child
- oldValue
- DOCUMENT ME!public GTComponent getParent()
GTComponent
This method will return a "NULLObject", called GTRoot.NO_PARENT when
no parent is present, client code should never have to be concerned
this method return null
.
getParent
in interface GTComponent
public GTNote getNote()
getNote
in interface GTComponent
public void setNote(GTNote container)
setNote
in interface GTComponent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |