|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.dockable.AbstractDockable
bibliothek.gui.dock.station.AbstractDockableStation
bibliothek.gui.dock.FlapDockStation
bibliothek.gui.dock.common.intern.station.CFlapDockStation
public class CFlapDockStation
An implementation of FlapDockStation
that also satisfies the
CommonDockStation
interface.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class bibliothek.gui.dock.FlapDockStation |
---|
FlapDockStation.Direction, FlapDockStation.DockableHandle |
Field Summary |
---|
Fields inherited from class bibliothek.gui.dock.FlapDockStation |
---|
BUTTON_CONTENT, BUTTON_CONTENT_FILTER, BUTTON_TITLE_ID, LAYOUT_MANAGER, MINIMUM_SIZE, WINDOW_FACTORY, WINDOW_TITLE_ID |
Fields inherited from class bibliothek.gui.dock.station.AbstractDockableStation |
---|
listeners |
Constructor Summary | |
---|---|
CFlapDockStation(Component expansion,
CommonStationDelegate<FlapDockStation> delegate)
Creates a new station. |
Method Summary | |
---|---|
CommonDockable |
asDockable()
Returns this if this is an instance of
Dockable . |
CFlapDockStation |
asDockStation()
Returns this if this is an instance of
DockStation . |
protected FlapDockStation.DockableHandle |
createHandle(Dockable dockable)
Creates a new wrapper around dockable , the wrapper is used as internal representation
of dockable . |
CDockable |
getDockable()
|
FlapDockStation |
getDockStation()
Gets this as S . |
Rectangle |
getExpansionBounds()
Gets the rectangle to which a flap-window will be attached. |
DockActionSource[] |
getSources()
|
CStation<FlapDockStation> |
getStation()
Gets the model of this station. |
void |
requestDockTitle(DockTitleRequest request)
The default behavior of this method is todo nothing. |
Methods inherited from class bibliothek.gui.dock.station.AbstractDockableStation |
---|
accept, acceptable, addDockStationListener, canCompare, compare, createTitleIcon, fireDockablesRepositioned, fireDockablesRepositioned, getIndirectActionOffers, getTheme, isStationVisible, removeDockStationListener, requestChildDockTitle, updateTheme |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface bibliothek.gui.dock.DockElement |
---|
getFactoryID |
Methods inherited from interface bibliothek.gui.DockStation |
---|
accept, addDockStationListener, canCompare, canDrag, canReplace, changed, compare, drag, draw, drop, drop, drop, forget, getController, getDirectActionOffers, getDockable, getDockableCount, getDockableProperty, getFrontDockable, getIndirectActionOffers, getPlaceholders, getStationBounds, getTheme, isInOverrideZone, isStationVisible, isVisible, move, move, prepareDrop, prepareMove, removeDockStationListener, replace, replace, requestChildDockTitle, setController, setFrontDockable, setPlaceholders, updateTheme |
Methods inherited from interface bibliothek.gui.dock.DockElement |
---|
getFactoryID |
Constructor Detail |
---|
public CFlapDockStation(Component expansion, CommonStationDelegate<FlapDockStation> delegate)
expansion
- the Component
which should define the size and location of
this station, can be null
delegate
- offers additional methods required by this stationMethod Detail |
---|
public CDockable getDockable()
public DockActionSource[] getSources()
public CStation<FlapDockStation> getStation()
CommonDockStation
getStation
in interface CommonDockStation<FlapDockStation,CFlapDockStation>
null
public FlapDockStation getDockStation()
CommonDockStation
this
as S
.
getDockStation
in interface CommonDockStation<FlapDockStation,CFlapDockStation>
this
public CFlapDockStation asDockStation()
DockElement
this
if this
is an instance of
DockStation
. Otherwise null
is returned.
asDockStation
in interface CommonElement
asDockStation
in interface CommonDockStation<FlapDockStation,CFlapDockStation>
asDockStation
in interface DockElement
asDockStation
in class AbstractDockableStation
this
or null
. Must not return null
if DockElement.asDockable()
already returns null
public CommonDockable asDockable()
DockElement
this
if this
is an instance of
Dockable
. Otherwise null
is returned.
asDockable
in interface CommonElement
asDockable
in interface DockElement
asDockable
in interface PlaceholderListItem<Dockable>
asDockable
in class AbstractDockable
this
or null
. Must not return null
if DockElement.asDockable()
already returns null
.protected FlapDockStation.DockableHandle createHandle(Dockable dockable)
FlapDockStation
dockable
, the wrapper is used as internal representation
of dockable
.
createHandle
in class FlapDockStation
dockable
- the element for which a new wrapper is created
null
public Rectangle getExpansionBounds()
FlapDockStation
getExpansionBounds
in class FlapDockStation
public void requestDockTitle(DockTitleRequest request)
AbstractDockable
requestDockTitle
in interface Dockable
requestDockTitle
in class AbstractDockableStation
request
- which title is required. If this Dockable does not have
a special rule for the given request it just ignores the call
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |