|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.EventObject
org.netbeans.spi.viewmodel.ModelEvent
org.netbeans.spi.viewmodel.ModelEvent.NodeChanged
Used to notify that one node has been changed (icon, displayName and children).
| Nested Class Summary |
| Nested classes inherited from class org.netbeans.spi.viewmodel.ModelEvent |
ModelEvent.NodeChanged, ModelEvent.TableValueChanged, ModelEvent.TreeChanged |
| Field Summary | |
static int |
CHILDREN_MASK
The mask for children change. |
static int |
DISPLAY_NAME_MASK
The mask for display name change. |
static int |
ICON_MASK
The mask for icon change. |
static int |
SHORT_DESCRIPTION_MASK
The mask for short description change. |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
ModelEvent.NodeChanged(Object source,
Object node)
Creates a new instance of NodeChanged event. |
|
ModelEvent.NodeChanged(Object source,
Object node,
int change)
Creates a new instance of NodeChanged event. |
|
| Method Summary | |
int |
getChange()
Get the change mask. |
Object |
getNode()
Returns changed node instance. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int DISPLAY_NAME_MASK
public static final int ICON_MASK
public static final int SHORT_DESCRIPTION_MASK
public static final int CHILDREN_MASK
| Constructor Detail |
public ModelEvent.NodeChanged(Object source, Object node)
source - a source if event.node - a changed node instancepublic ModelEvent.NodeChanged(Object source, Object node, int change)
source - a source if event.node - a changed node instance.change - one of the *_MASK constant or their aggregation.| Method Detail |
public Object getNode()
public int getChange()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||