public static class ModelEvent.NodeChanged extends ModelEvent
ModelEvent.NodeChanged, ModelEvent.SelectionChanged, ModelEvent.TableValueChanged, ModelEvent.TreeChanged
Modifier and Type | Field and Description |
---|---|
static int |
CHILDREN_MASK
The mask for children change.
|
static int |
DISPLAY_NAME_MASK
The mask for display name change.
|
static int |
EXPANSION_MASK
The mask for expansion change.
|
static int |
ICON_MASK
The mask for icon change.
|
static int |
SHORT_DESCRIPTION_MASK
The mask for short description change.
|
source
Constructor and Description |
---|
NodeChanged(Object source,
Object node)
Creates a new instance of NodeChanged event.
|
NodeChanged(Object source,
Object node,
int change)
Creates a new instance of NodeChanged event.
|
Modifier and Type | Method and Description |
---|---|
int |
getChange()
Get the change mask.
|
Object |
getNode()
Returns changed node instance.
|
String |
toString() |
getSource
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
public static final int EXPANSION_MASK
public NodeChanged(Object source, Object node)
source
- a source if event.node
- a changed node instancepublic Object getNode()
public int getChange()
public String toString()
toString
in class EventObject
Built on June 4 2024. | Copyright © 2017-2024 Apache Software Foundation. All Rights Reserved.