|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sygem.swing.jslidemenu.PanelModel
com.sygem.swing.jslidemenu.DefaultPanelModel
A default implementation of a PanelModel. One of these is created by the JSlideMenu to store the panels. Uses a Vector to store the data, and fires PanelDataEvents to the JSlideMenu when categories are added or removed.
Title: JSlideMenu
Description: A Swing component allowing animated panels containing any components
Copyright: Copyright (c) 2004
Company: SyGem Software
Constructor Summary | |
DefaultPanelModel()
Constructs the (empty) DefaultPanelModel. |
Method Summary | |
void |
addPanel(SlideMenuPanel panel)
Adds a SlideMenuPanel to this data model. |
SlideMenuPanel[] |
getPanels()
Returns an array containing all of the SlideMenuPanels currently present in this model. |
void |
removePanel(SlideMenuPanel panel)
Removes a Panel from this data model. |
Methods inherited from class com.sygem.swing.jslidemenu.PanelModel |
addPanelDataListener, removeAll, removePanelDataListener |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultPanelModel()
Method Detail |
public void addPanel(SlideMenuPanel panel)
addPanel
in class PanelModel
panel
- The SlideMenuPanel to be addedSlideMenuPanel
public SlideMenuPanel[] getPanels()
getPanels
in class PanelModel
SlideMenuPanel
public void removePanel(SlideMenuPanel panel)
removePanel
in class PanelModel
panel
- The SlideMenuPanel to be removedSlideMenuPanel
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |