|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
wt.clients.beans.explorer.WTExplorerEvent
Windchill Technology Explorer Event Class (WTExplorerEvent)
This is a Event generated from the Explorer Browser.
Supported API: true
Extendable: false
Field Summary | |
static String |
CLOSE
The close event indicates that this WTObject has been deselected in the list view using a mouse double-click. |
static String |
COLLAPSE
The collapse event indicates that a WTNode's children have been hidden in the WTExplorer tree view. |
static String |
COMMAND
The command event indicates that a button on the toolbar has been depressed. |
static String |
DESELECT
The deselect event indicates that this WTObject has been deselected in the list view. |
static String |
EXPAND
The expand event indicates that a WTNode's children have been made visible in the WTExplorer tree view. |
static String |
EXPOSE
The expose event indicates that a WTNode has been selected in the tree view and it's details shown in the WTExplorer list view. |
static String |
HIDE
The hide event indicates that another WTNode has been selected in the tree view and that this WTNode's details are being hidden from the WTExplorer list view. |
private String |
myCommand
|
private Explorable |
myDetail
|
private WTExplorer |
myExplorer
|
private WTNode |
myNode
|
private String |
myType
|
static String |
NULL
NULL event is used to throw a null explorer event. |
static String |
OPEN
The open event indicates that WTObject has been selected in the list view using a mouse double-click. |
static String |
SELECT
The select event indicates that WTObject has been selected in the list view. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
WTExplorerEvent(WTExplorer aExplorer,
String aType,
Explorable aDetail)
Construct WTExplorerEvent of type list view. |
|
WTExplorerEvent(WTExplorer aExplorer,
String aType,
String aCommand)
Construct WTExplorerEvent of type toolbar command. |
|
WTExplorerEvent(WTExplorer aExplorer,
String aType,
WTNode aNode)
Construct WTExplorerEvent of type tree view. |
Method Summary | |
String |
getCommand()
get the command string, such as "Cut", "Copy", "Paste". |
Explorable |
getDetail()
get the Explorable for which their has been list type event. |
WTExplorer |
getExplorer()
get the WTExplorer source of the event. |
WTNode |
getNode()
get the WTNode for which their has been tree type event. |
String |
getType()
get the event type. |
void |
setCommand(String aValue)
set the command string to override the toolbar button command strings. |
void |
setDetail(Explorable aValue)
set the Explorable which sourced the event. |
void |
setExplorer(WTExplorer aValue)
set the source event to WTExplorer. |
void |
setNode(WTNode aValue)
set the node which sourced the event. |
void |
setType(String aValue)
set the event type. |
String |
toString()
get the string represenation of the event. |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String NULL
public static final String COMMAND
getCommand()
,
Constant Field Valuespublic static final String EXPAND
getNode()
,
Constant Field Valuespublic static final String COLLAPSE
getNode()
,
Constant Field Valuespublic static final String EXPOSE
getNode()
,
Constant Field Valuespublic static final String HIDE
getNode()
,
Constant Field Valuespublic static final String SELECT
getDetail()
,
Constant Field Valuespublic static final String DESELECT
getDetail()
,
Constant Field Valuespublic static final String OPEN
getDetail()
,
Constant Field Valuespublic static final String CLOSE
getDetail()
,
Constant Field Valuesprivate WTExplorer myExplorer
private WTNode myNode
private Explorable myDetail
private String myCommand
private String myType
Constructor Detail |
public WTExplorerEvent(WTExplorer aExplorer, String aType, String aCommand)
aExplorer
- the event source.aType
- the event type: NULL or COMMAND.aCommand
- the command string of the button activated.COMMAND
public WTExplorerEvent(WTExplorer aExplorer, String aType, WTNode aNode)
aExplorer
- the event source.aType
- the event type: EXPAND, COLLAPSE, EXPOSE, or HIDE.aNode
- the WTNode activated.WTNode
,
EXPAND
,
COLLAPSE
,
EXPOSE
,
HIDE
public WTExplorerEvent(WTExplorer aExplorer, String aType, Explorable aDetail)
aExplorer
- the event source.aType
- the event type: SELECT, DESELECT, OPEN, CLOSE.Explorable
,
SELECT
,
DESELECT
,
OPEN
,
CLOSE
Method Detail |
public WTExplorer getExplorer()
WTExplorer
WTExplorer
public void setExplorer(WTExplorer aValue)
aValue
- the event source.WTExplorer
public String getType()
String
COMMAND
,
EXPAND
,
COLLAPSE
,
EXPOSE
,
HIDE
,
SELECT
,
DESELECT
,
OPEN
,
CLOSE
public void setType(String aValue)
aValue
- the event type, see below.COMMAND
,
EXPAND
,
COLLAPSE
,
EXPOSE
,
HIDE
,
SELECT
,
DESELECT
,
OPEN
,
CLOSE
public String getCommand()
String
COMMAND
public void setCommand(String aValue)
aValue
- the command string, such as "Cut"COMMAND
public WTNode getNode()
WTNode
EXPAND
,
COLLAPSE
,
EXPOSE
,
HIDE
public void setNode(WTNode aValue)
aValue
- a WTNode.EXPAND
,
COLLAPSE
,
EXPOSE
,
HIDE
public Explorable getDetail()
Explorable
SELECT
,
DESELECT
,
OPEN
,
CLOSE
public void setDetail(Explorable aValue)
aValue
- a Explorable.SELECT
,
DESELECT
,
OPEN
,
CLOSE
public String toString()
String
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |