|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.docking.DockingManagerGroup
public class DockingManagerGroup
This class is used to create a multiple-exclusion scope for a set of DockingManagers. Creating a set of
DockingManagers with the same DockingManagerGroup
object means that only one DockableFrame can be active
among all those DockingManagers
Field Summary | |
---|---|
protected Vector<DockingManager> |
_managers
|
Constructor Summary | |
---|---|
DockingManagerGroup()
Creates a new DockingManagerGroup . |
Method Summary | |
---|---|
void |
add(DockingManager b)
Adds the DockingManager to the group. |
void |
clearSelection()
Clears the selection such that none of the DockingManagers in the DockingManagerGroup are selected. |
DockingManager |
getActive()
Returns the model of the active DockingManager. |
int |
getDockingManagerCount()
Returns the number of DockingManagers in the group. |
Enumeration<DockingManager> |
getElements()
Returns all the DockingManagers that are participating in this group. |
boolean |
isSelected(DockingManager m)
Returns whether a DockingManager is selected. |
void |
remove(DockingManager b)
Removes the DockingManager from the group. |
void |
setSelected(DockingManager m,
boolean b)
Sets the selected value for the DockingManager . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Vector<DockingManager> _managers
Constructor Detail |
---|
public DockingManagerGroup()
DockingManagerGroup
.
Method Detail |
---|
public void add(DockingManager b)
b
- the DockingManager to be addedpublic void remove(DockingManager b)
b
- the DockingManager to be removedpublic void clearSelection()
DockingManagerGroup
are selected.
public Enumeration<DockingManager> getElements()
Enumeration
of the DockingManagers in this grouppublic DockingManager getActive()
public void setSelected(DockingManager m, boolean b)
DockingManager
. Only one DockingManager in the group may be active
at a time.
m
- the DockingManager
b
- true
if this DockingManager is to be active, otherwise false
public boolean isSelected(DockingManager m)
DockingManager
is selected.
m
- the DockingManager.
true
if the DockingManager is active, otherwise returns false
public int getDockingManagerCount()
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |