|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Controller for a pane. This interface provides both a view of various properties of the pane, and a way to request changes to those properties. Not all PaneContainers will provide all these properties. Getting a property that is not provided by the PaneContainer will yield null. The semantics of changing property values is also PaneContainer-dependent. See the comments on RequestablePropertySet for more information.
Field Summary | |
static ClassConstrainedKey |
PANE_FOCUSED
Property key for whether the pane is focused. |
static ClassConstrainedKey |
PANE_JCOMPONENT
Property key for the pane JComponent. |
static ClassConstrainedKey |
PANE_LOCATION
Property key for the position of the pane. |
static ClassConstrainedKey |
PANE_MAXIMIZED
Property key for whether the pane is maximized. |
static ClassConstrainedKey |
PANE_MENUBAR
Property key for the pane menu bar. |
static ClassConstrainedKey |
PANE_MINIMIZED
Property key for whether the pane is minimized. |
static ClassConstrainedKey |
PANE_MODIFIED
Property key for whether the pane is marked as modified. |
static ClassConstrainedKey |
PANE_OPEN
Property key for whether the pane is open. |
static ClassConstrainedKey |
PANE_SIZE
Property key for the size of the pane. |
static ClassConstrainedKey |
PANE_TITLE
Property key for the pane title. |
Method Summary | |
void |
addPaneClosingListener(PaneClosingListener listener)
Add a PaneClosingListener. |
boolean |
isClosingVetoable()
Returns true if closes are vetoable (that is, if it is okay to throw EventAbortedException from PaneClosingListeners). |
void |
removePaneClosingListener(PaneClosingListener listener)
Remove a PaneClosingListener. |
boolean |
requestClose()
Request the pane be closed. |
Methods inherited from interface com.virtuosotechnologies.lib.container.RequestablePropertySet |
requestPutValue, requestResetValue |
Methods inherited from interface com.virtuosotechnologies.lib.container.PropertySet |
addPropertySetListener, getDefaultValue, getValue, removePropertySetListener |
Field Detail |
public static final ClassConstrainedKey PANE_JCOMPONENT
public static final ClassConstrainedKey PANE_MENUBAR
public static final ClassConstrainedKey PANE_TITLE
public static final ClassConstrainedKey PANE_OPEN
public static final ClassConstrainedKey PANE_FOCUSED
public static final ClassConstrainedKey PANE_SIZE
public static final ClassConstrainedKey PANE_LOCATION
public static final ClassConstrainedKey PANE_MODIFIED
public static final ClassConstrainedKey PANE_MAXIMIZED
public static final ClassConstrainedKey PANE_MINIMIZED
Method Detail |
public boolean requestClose()
public boolean isClosingVetoable()
public void addPaneClosingListener(PaneClosingListener listener)
listener
- new listenerpublic void removePaneClosingListener(PaneClosingListener listener)
listener
- listener to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |