|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--au.edu.swin.synergy.kernel.BCommandEvent | +--au.edu.swin.synergy.plugin.mod13.event.BWindowCE | +--au.edu.swin.synergy.plugin.mod13.event.BCloseWindowCE | +--au.edu.swin.synergy.plugin.mod13.event.BAddWindowCE
This event is passed to the Window Manager with a panel and various properties to add to a Window in the GUI.
Field Summary | |
static int |
kDisposeOnClose
This will destroy the window complete when the user clicks the close button |
static int |
kDoNothingOnClose
This will make the window do nothing when the user clicks the user, it is up to a listener to deal with it. |
static int |
kHideOnClose
This will hide the window when the user clicks the close button |
Fields inherited from class au.edu.swin.synergy.kernel.BCommandEvent |
connectionID,
index,
kBroadcast,
kClient,
kClientDone,
kLocal,
kServer,
kServerDone,
networkStatus,
serialVersionUID |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
BAddWindowCE(Object source,
JComponent windowContent,
Object fName)
Please complete the missing tags for BAddWindowCE |
|
BAddWindowCE(Object source,
JComponent windowContent,
Object fName,
BCommandComplete complete)
Please complete the missing tags for BAddWindowCE |
Method Summary | |
void |
addListenersToWindow(Container window)
This will add all the window listeners specified in this add window event to the window passed in. |
void |
addWindowListener(BWindowListener windowListener)
This will add the given window listener to the list of listeners that will receive notification of window events from the window or dialog this panel ends up on. |
boolean |
getClosable()
Please complete the missing tags for getClosable |
int |
getCloseAction()
Gets the default close action to that specified. |
boolean |
getIconifiable()
Please complete the missing tags for getIconifiable |
boolean |
getMaximizable()
Please complete the missing tags for getMaximizable |
Object |
getName()
Please complete the missing tags for getName |
JComponent |
getParentDialog()
Gets the parent dialog of this panel as identified by the panel given to the window manager earlier. |
boolean |
getResizable()
Please complete the missing tags for getResizable |
boolean |
isDialog()
Indicates whether the window is should be displayed as a dialog or not. |
boolean |
isModal()
Indicates whether the window is should be displayed as a modal dialog or not. |
void |
removeWindowListener(BWindowListener windowListener)
This will remove the given window listener from the list of listeners. |
void |
setClosable(boolean fClosable)
Please complete the missing tags for setClosable |
void |
setCloseAction(int closeAction)
Sets the default close action to that specified. |
void |
setDialog(boolean isDialog)
Indicates that the panel should be added to a dialog and be modal. |
void |
setIconifiable(boolean fIconifiable)
Please complete the missing tags for setIconifiable |
void |
setMaximizable(boolean fMaximizable)
Please complete the missing tags for setMaximizable |
void |
setModal(boolean isModal)
Indicates that the panel should be model or not. |
void |
setParentDialog(JComponent parentDialogContent)
Specifies the parent dialog of this dialog. |
void |
setResizable(boolean fResizable)
Please complete the missing tags for setResizable |
Methods inherited from class au.edu.swin.synergy.plugin.mod13.event.BCloseWindowCE |
getWindowContent |
Methods inherited from class au.edu.swin.synergy.kernel.BCommandEvent |
decrementThreadCount,
doComplete,
doInit,
getAutoComplete,
getCompletionObject,
getCompletionStatus,
getConnectionID,
getIndex,
getNetworkStatus,
getPipe,
getUndoable,
setAutoComplete,
setCompletionObject,
setCompletionStatus,
setConnectionID,
setIndex,
setNetworkStatus,
setPipe,
setThreadCount,
setUndoable |
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 int kHideOnClose
public static int kDoNothingOnClose
public static int kDisposeOnClose
Constructor Detail |
public BAddWindowCE(Object source, JComponent windowContent, Object fName)
source
- The source of the eventwindowContent
- The component to place on the windowfName
- The name of the windowpublic BAddWindowCE(Object source, JComponent windowContent, Object fName, BCommandComplete complete)
source
- The source of the eventwindowContent
- The component to place on the windowfName
- The name of the windowcomplete
- The completion object to be notified when the window is processedMethod Detail |
public void setCloseAction(int closeAction)
closeAction
- kDisposeOnClose, kDoNothingOnClose, kHideOnClosepublic int getCloseAction()
public boolean getResizable()
- public void setResizable(boolean fResizable)
- public boolean getClosable()
- public void setClosable(boolean fClosable)
- public boolean getMaximizable()
- public void setMaximizable(boolean fMaximizable)
- public boolean getIconifiable()
- public void setIconifiable(boolean fIconifiable)
- public Object getName()
- public JComponent getParentDialog()
- public void setDialog(boolean isDialog)
isDialog
- Please complete the missing tags for setDialogpublic void setModal(boolean isModal)
isModal
- public void setParentDialog(JComponent parentDialogContent)
parentDialogContent
- The parent of this new dialog
Please complete the missing tags for setParentDialogpublic boolean isModal()
public boolean isDialog()
- public void addWindowListener(BWindowListener windowListener)
windowListener
- The window listener to add
Please complete the missing tags for addWindowListenerpublic void removeWindowListener(BWindowListener windowListener)
windowListener
- The window listener to remove
Please complete the missing tags for removeWindowListenerpublic void addListenersToWindow(Container window)
window
- The window to add the listeners to
Please complete the missing tags for addListenersToWindow
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |