|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjpicedt.ui.MDIManager.DockablePanel
public class MDIManager.DockablePanel
A wrapper for dockable panels, e.g. the attribute editor or the toolkit palette. The UI is rendered by
a MDIComponent delegate (see getMDIDelegate) that is created at
init time by relying on the factory method createMDIComponent.
| Field Summary | |
|---|---|
protected EventListenerList |
listenerList
|
| Constructor Summary | |
|---|---|
MDIManager.DockablePanel(JPanel pane,
String key)
|
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
ajoute un PropertyChangeListener à la liste des auditeurs. |
String |
getKey()
|
MDIComponent |
getMDIDelegate()
returns the MDIComponent that renders the UI of this DockablePanel. |
void |
removePropertyChangeListener(PropertyChangeListener l)
ôte un PropertyChangeListener du DockablePanel. |
void |
setVisible(boolean v)
set the visible state of this DockablePanel, first trying to fetch the geometrical
aspect from the Properties object given in the constructor. |
void |
toggleVisible()
returns true if this DockablePanel is currently visible
public boolean isVisible(){
return mdiComponent.isVisible();
} |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected EventListenerList listenerList
| Constructor Detail |
|---|
public MDIManager.DockablePanel(JPanel pane,
String key)
pane - the content of this DockablePanelkey - used to set the title (after proper i18n'ing) of the MDIComponent which
renders the UI, and for building keys used to retrieve the geometry from
JPicEdt's preferences.| Method Detail |
|---|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener l)
PropertyChangeListener à la liste des auditeurs.
public void removePropertyChangeListener(PropertyChangeListener l)
PropertyChangeListener du DockablePanel.
public MDIComponent getMDIDelegate()
MDIComponent that renders the UI of this DockablePanel.
public void toggleVisible()
DockablePanel is currently visible
public boolean isVisible(){
return mdiComponent.isVisible();
}
public void setVisible(boolean v)
DockablePanel, first trying to fetch the geometrical
aspect from the Properties object given in the constructor. This is done on first call only (see
"packed" flag).
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||