|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection<E> java.util.AbstractList<E> java.util.ArrayList<SidePaneItem> com.jidesoft.swing.SidePaneGroup
public class SidePaneGroup
A data structure used by SidePane
to represent a group of SidePaneItem
.
SidePaneItem
selected.
Field Summary | |
---|---|
protected EventListenerList |
listenerList
A list of event listeners for this component. |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
SidePaneGroup()
Default constructor. |
Method Summary | |
---|---|
void |
addSidePaneListener(SidePaneListener l)
Adds the specified listener to receive side pane events from this side pane group. |
boolean |
exists(Component comp)
Checks if the component exists in this group. |
protected void |
fireSidePaneEvent(SidePaneItem sidePaneItem,
int id)
Fires a side pane event. |
String |
getLongestTitle()
Get longest title in this group. |
int |
getSelectedIndex()
Gets the selected index. |
SidePaneItem |
getSelectedItem()
Gets the selected item. |
SidePaneItem |
getSidePaneItem(Component comp)
Checks if the component exists in this group. |
SidePaneListener[] |
getSidePaneListeners()
Returns an array of all the SidePaneListener s added to this
SidePaneGroup with addSidePaneListener . |
boolean |
removeComponent(Component comp)
Removes the component from this group. |
void |
removeSidePaneListener(SidePaneListener l)
Removes the specified side pane listener so that it no longer receives side pane events from this side pane group. |
void |
setSelectedIndex(int index)
Sets the selected index. |
void |
setSelectedItem(SidePaneItem selectedItem)
Sets the selected item. |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Field Detail |
---|
protected EventListenerList listenerList
Constructor Detail |
---|
public SidePaneGroup()
Method Detail |
---|
public SidePaneItem getSelectedItem()
public void setSelectedItem(SidePaneItem selectedItem)
selectedItem
- the item to be selectedpublic int getSelectedIndex()
public void setSelectedIndex(int index)
index
- the index of the item to be selectedpublic String getLongestTitle()
public boolean removeComponent(Component comp)
comp
- component to be removed
true
if the component is removedpublic boolean exists(Component comp)
comp
- component to be checked
true
if the component existspublic SidePaneItem getSidePaneItem(Component comp)
comp
- component to be checked
true
if the component existspublic void addSidePaneListener(SidePaneListener l)
l
- the side pane listenerpublic void removeSidePaneListener(SidePaneListener l)
l
- the dockable frame listenerpublic SidePaneListener[] getSidePaneListeners()
SidePaneListener
s added to this
SidePaneGroup
with addSidePaneListener
.
SidePaneListener
s added or an empty array if no listeners
have been addedaddSidePaneListener(com.jidesoft.swing.event.SidePaneListener)
protected void fireSidePaneEvent(SidePaneItem sidePaneItem, int id)
sidePaneItem
- the event sourceid
- the type of the event being fired; one of the following: If the event
type is not one of the above, nothing happens.
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |