public class NodeExpansionEvent extends IlEventObject
NodeExpansionEvent
event is fired by the view when a
subnetwork is expanded or collapsed.NodeExpansionListener
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
NodeExpansionEvent.Type
Event type
|
source
Constructor and Description |
---|
NodeExpansionEvent(IlpGraphView source,
NodeExpansionEvent.Type type,
IlpRepresentationObject object)
Creates an event.
|
Modifier and Type | Method and Description |
---|---|
IlpRepresentationObject |
getObject()
Returns the object that has been collapsed or expanded.
|
IlpGraphView |
getView()
Returns the view in which the event has occurred.
|
getType
getSource, toString
public NodeExpansionEvent(IlpGraphView source, NodeExpansionEvent.Type type, IlpRepresentationObject object)
source
- The view.type
- One of COLLAPSED
or EXPANDED
type.object
- The object that has been collapsed or expanded.public IlpGraphView getView()
public IlpRepresentationObject getObject()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.