|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
bibliothek.gui.dock.common.CMinimizeArea
public class CMinimizeArea
An area where CDockables can be stored in their minimized state.
This class is a subclass of JPanel and can be added anywhere in any
frame or dialog.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
CMinimizeArea(CControl control,
String uniqueId)
Creates a new minimize area. |
|
| Method Summary | |
|---|---|
CDockable |
asDockable()
If this station is a CDockable as well, then this method returns
the representation of this station as CDockable. |
FlapDockStation |
getStation()
Gets the internal representation of this CStation. |
CLocation |
getStationLocation()
Gets a location which represents directly CStation.getStation(). |
String |
getUniqueId()
Gets the unique uniqueId of this area. |
boolean |
isWorkingArea()
Tells whether this station is a special working area or not. |
void |
setControl(CControlAccess access)
Called by CControl when this CStation is added or removed. |
void |
setDirection(FlapDockStation.Direction direction)
Sets the direction into which the tab opens. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CMinimizeArea(CControl control,
String uniqueId)
control - the control for which this area will be useduniqueId - the unique uniqueId of this area| Method Detail |
|---|
public void setControl(CControlAccess access)
CStationCControl when this CStation is added or removed.
There are two actions which most stations might want to do:add methods for ModeAreas accessible through the CLocationModeManager.
That will ensure that the station can be used as minimize/normalize/... area.ResizeRequestListener to CControl in order to be
informed when resize requests are to be handled.
setControl in interface CStation<FlapDockStation>access - access to the internals of the CControl that uses
this station or null to remove all ties from a controlpublic String getUniqueId()
getUniqueId in interface CStation<FlapDockStation>public FlapDockStation getStation()
CStationCStation.
getStation in interface CStation<FlapDockStation>public CLocation getStationLocation()
CStationCStation.getStation().
getStationLocation in interface CStation<FlapDockStation>stationpublic boolean isWorkingArea()
CStation
isWorkingArea in interface CStation<FlapDockStation>true if this is a working area, false
otherwisepublic CDockable asDockable()
CStationCDockable as well, then this method returns
the representation of this station as CDockable.
asDockable in interface CStation<FlapDockStation>nullpublic void setDirection(FlapDockStation.Direction direction)
direction - the direction or null to let the system
decide automatically
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||