public class SessionManager.Session extends Object implements PropertyChangeListener, Runnable
The session manages session selection, owners of new panels, etc.
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Gets the index of this panel session.
|
PPanel |
getPanel(int index)
Gets a panel at the requested nesting level or index.
|
int |
getPanelCount()
Gets the panel count of this session.
|
int |
getStdMenuHeight()
Get standard menu height (Height of one menu bar).
|
void |
propertyChange(PropertyChangeEvent event)
Listener for a property change:
JInternalFrame.IS_SELECTED_PROPERTY and
JInternalFrame.IS_ICON_PROPERTY . |
void |
run()
Creates the rest of the panel in the AWT thread.
|
void |
setStdMenuHeight(int height)
Set standard menu height (Height of one menu bar).
|
public int getIndex()
public int getPanelCount()
public PPanel getPanel(int index)
public void run()
public void propertyChange(PropertyChangeEvent event)
JInternalFrame.IS_SELECTED_PROPERTY
and
JInternalFrame.IS_ICON_PROPERTY
.
For the selected property, the session is put in the foreground.
For the icon property, all panels belonging to the same panel session (but the panel in question) are made visible or hidden depending on the restore or iconize property respectively.
propertyChange
in interface PropertyChangeListener
public int getStdMenuHeight()
public void setStdMenuHeight(int height)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.