|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--com.borland.primetime.util.DispatchableEvent | +--com.borland.jbuilder.designer.DesignerEvent
An event indicating one of the following:
Field Summary | |
static int |
CLOSED
This event indicates that a component has been closed. |
static int |
CLOSING
This event indicates that a component is closing and that it is time to save any pending edits. |
static int |
COMMITED
This event indicates that a designer has committed changes to the source component. |
static int |
OPENED
This event indicates that a component has been opened and a designer was selected. |
static int |
OPENING
This event indicates that a component open has started. |
static int |
RELEASED
This event indicates that a component has been closed. |
static int |
RELEASING
This event indicates that a component is closing and that it is time to save any pending edits. |
static int |
SHOW
This event indicates a general designer window show/hide request. |
static int |
TOOL_SELECTED
This event indicates that a palette item has been selected. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
DesignerEvent(java.lang.Object source)
Constructs a DesignerEvent object indicating that a designer has committed changes to the source component. |
|
DesignerEvent(java.lang.Object source,
boolean show)
Constructs a DesignerEvent object to indicate a general designer window show/hide request. |
|
DesignerEvent(java.lang.Object source,
com.borland.jbuilder.cmt.CmtComponentSource component)
Constructs a DesignerEvent object to indicate a component open has started. |
|
DesignerEvent(java.lang.Object source,
com.borland.jbuilder.cmt.CmtComponentSource component,
Designer designer)
Constructs a DesignerEvent object to indicate a component has been opened. |
|
DesignerEvent(java.lang.Object source,
int id)
Constructs a DesignerEvent object. |
|
DesignerEvent(java.lang.Object source,
java.lang.String toolName)
Constructs a DesignerEvent object to indicate a palette tool selection. |
Method Summary | |
void |
dispatch(java.util.EventListener l)
Dispatch this event to all registered listeners |
com.borland.jbuilder.cmt.CmtComponentSource |
getComponent()
Retrieves the component that originated the event. |
DesignerViewer |
getContext()
Retrieves the designer viewer context (event source for this event. |
Designer |
getDesigner()
Retrieves the designer object for the component that originated the event. |
boolean |
getShow()
Retrieves the boolean flag indicating whether component is being shown or hidden. |
java.lang.String |
getToolName()
Retrieves the name of the selected palette tool. |
boolean |
isReleaseEvent()
Returns true if this event is a releasing or released event. |
protected java.lang.String |
paramString()
Retrieves a descriptive String for this event. |
Methods inherited from class com.borland.primetime.util.DispatchableEvent |
appendException, getExceptionChain, toString |
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 int TOOL_SELECTED
public static final int OPENING
public static final int OPENED
public static final int SHOW
public static final int COMMITED
public static final int CLOSING
public static final int CLOSED
public static final int RELEASING
Added in version 1.01 to track release of subcomponents. Not added to DesignerListener (would not be backward compatible).
public static final int RELEASED
Added in version 1.01 to track release of subcomponents. Not added to DesignerListener (would not be backward compatible).
Constructor Detail |
public DesignerEvent(java.lang.Object source, java.lang.String toolName)
source
- component that originated the eventtoolName
- name of the selected palette toolpublic DesignerEvent(java.lang.Object source, com.borland.jbuilder.cmt.CmtComponentSource component)
source
- component that originated the eventcomponent
- component being openedpublic DesignerEvent(java.lang.Object source, com.borland.jbuilder.cmt.CmtComponentSource component, Designer designer)
source
- component that originated the eventcomponent
- component that was openeddesigner
- Designer object for the component that originated the
eventpublic DesignerEvent(java.lang.Object source, boolean show)
source
- component that originated the eventshow
- boolean indicating whether component is being shown or hiddenpublic DesignerEvent(java.lang.Object source, int id)
source
- component that originated the eventid
- integer indication the type of eventpublic DesignerEvent(java.lang.Object source)
source
- component that originated the eventMethod Detail |
public DesignerViewer getContext()
public java.lang.String getToolName()
public com.borland.jbuilder.cmt.CmtComponentSource getComponent()
public Designer getDesigner()
public boolean getShow()
public boolean isReleaseEvent()
public void dispatch(java.util.EventListener l)
dispatch
in class DispatchableEvent
l
- chain of registered EventListeners for DesignerEventsprotected java.lang.String paramString()
paramString
in class DispatchableEvent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |