anvil.gui
Class ViewerChangeEvent
java.lang.Object
|
+--java.util.EventObject
|
+--anvil.gui.ViewerChangeEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class ViewerChangeEvent
- extends java.util.EventObject
Event that stores a change.
- See Also:
- Serialized Form
Constructor Summary |
ViewerChangeEvent(java.lang.Object source,
anvil.annot.AnnotationContainer container)
|
ViewerChangeEvent(java.lang.Object source,
anvil.annot.AnnotationContainer container,
anvil.annot.AnnotationElement el)
|
Method Summary |
anvil.annot.AnnotationContainer |
getContainer()
Returns the currently active container. |
anvil.annot.AnnotationElement |
getElement()
Returns the currently selected element. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ViewerChangeEvent
public ViewerChangeEvent(java.lang.Object source,
anvil.annot.AnnotationContainer container)
ViewerChangeEvent
public ViewerChangeEvent(java.lang.Object source,
anvil.annot.AnnotationContainer container,
anvil.annot.AnnotationElement el)
getElement
public anvil.annot.AnnotationElement getElement()
- Returns the currently selected element.
getContainer
public anvil.annot.AnnotationContainer getContainer()
- Returns the currently active container.