|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.themes.basic.BasicDisplayerFactory
public class BasicDisplayerFactory
A DisplayerFactory
that creates DockableDisplayer
with
no special settings.
Field Summary |
---|
Fields inherited from interface bibliothek.gui.dock.station.DisplayerFactory |
---|
DISPLAYER_EXTENSION, DISPLAYER_EXTENSION_ID |
Constructor Summary | |
---|---|
BasicDisplayerFactory()
|
Method Summary | |
---|---|
protected BasicDockableDisplayer |
create(DockStation station,
Dockable dockable,
DockTitle title,
DockableDisplayer.Location location)
Creates a new displayer. |
DockableDisplayer.Location |
getDockableLocation()
Gets the location where the DockTitle will be shown on the
DockableDisplayer , if a Dockable is used as child. |
DockableDisplayer.Location |
getStationLocation()
Gets the location where the DockTitle will be shown on the
DockableDisplayer , if a DockStation is used as child. |
void |
request(DisplayerRequest request)
Creates a new DockableDisplayer , this method needs to call
DisplayerRequest.answer(DockableDisplayer) once the new displayer is created.The new displayer will be shown on DisplayerRequest.getParent() , its content
must be DisplayerRequest.getTarget() and DisplayerRequest.getTitle() .If this factory does not want to provide a DockableDisplayer for the given request,
it can just return and not call DisplayerRequest.answer(DockableDisplayer) . |
void |
setDockableLocation(DockableDisplayer.Location dockableLocation)
Sets the location where the DockTitle will be shown on a
DockableDisplayer if a Dockable is used as child. |
void |
setStationLocation(DockableDisplayer.Location stationLocation)
Sets the location where the DockTitle will be shown on a
DockableDisplayer if a DockStation is used as child. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicDisplayerFactory()
Method Detail |
---|
public void request(DisplayerRequest request)
DisplayerFactory
DockableDisplayer
, this method needs to call
DisplayerRequest.answer(DockableDisplayer)
once the new displayer is created.DisplayerRequest.getParent()
, its content
must be DisplayerRequest.getTarget()
and DisplayerRequest.getTitle()
.DockableDisplayer
for the given request,
it can just return
and not call DisplayerRequest.answer(DockableDisplayer)
.
request
in interface DisplayerFactory
request
- detailed information about who is going to show the displayer, and callback to
set the new displayerprotected BasicDockableDisplayer create(DockStation station, Dockable dockable, DockTitle title, DockableDisplayer.Location location)
station
- the station for which this displayer is neededdockable
- the element that is shown on the displayertitle
- the title of the displayerlocation
- the location of title
public DockableDisplayer.Location getDockableLocation()
DockTitle
will be shown on the
DockableDisplayer
, if a Dockable
is used as child.
setDockableLocation(bibliothek.gui.dock.station.DockableDisplayer.Location)
public void setDockableLocation(DockableDisplayer.Location dockableLocation)
DockTitle
will be shown on a
DockableDisplayer
if a Dockable
is used as child.
dockableLocation
- the locationpublic DockableDisplayer.Location getStationLocation()
DockTitle
will be shown on the
DockableDisplayer
, if a DockStation
is used as child.
setDockableLocation(bibliothek.gui.dock.station.DockableDisplayer.Location)
public void setStationLocation(DockableDisplayer.Location stationLocation)
DockTitle
will be shown on a
DockableDisplayer
if a DockStation
is used as child.
stationLocation
- the location
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |