public interface DesktopPanel extends PropertyChangeNotifier
Modifier and Type | Field and Description |
---|---|
static String |
ICON_PROPERTY |
static String |
TITLE_PROPERTY |
Modifier and Type | Method and Description |
---|---|
boolean |
dependsOn(ModelItem modelItem)
Checks if this desktop panel depends on the existence of the specified
model item, used for closing relevant panels.
|
JComponent |
getComponent()
Gets the component used to display this desktop panel
|
String |
getDescription()
Gets the description for this desktop panel..
|
Icon |
getIcon()
Returns the icon for this panel
|
ModelItem |
getModelItem()
Gets the model item associated with this desktop panel
|
String |
getTitle()
Gets the title for this desktop panel
|
boolean |
onClose(boolean canCancel)
Called when a desktop panel is about to be closed, may be overriden
(depending on situation) by returning false if canCancel is set to true.
|
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
static final String TITLE_PROPERTY
static final String ICON_PROPERTY
String getTitle()
String getDescription()
ModelItem getModelItem()
boolean onClose(boolean canCancel)
JComponent getComponent()
boolean dependsOn(ModelItem modelItem)
modelItem
- Icon getIcon()
Copyright © 2019. All Rights Reserved.