|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.station.screen.DefaultScreenDockWindowFactory
public class DefaultScreenDockWindowFactory
A default implementation of ScreenDockWindowFactory
.
Nested Class Summary | |
---|---|
static class |
DefaultScreenDockWindowFactory.Kind
The kind of window that can be produced |
Constructor Summary | |
---|---|
DefaultScreenDockWindowFactory()
|
Method Summary | |
---|---|
ScreenDockWindow |
createWindow(ScreenDockStation station)
Creates a new window which will be used by station . |
DefaultScreenDockWindowFactory.Kind |
getKind()
Gets the kind of window this factory creates. |
Icon |
getTitleIcon()
Gets the icon which is used in decorated titles. |
String |
getTitleText()
Gets the text which is used in decorated titles. |
boolean |
isShowDockTitle()
Tells whether the DockTitle is normally shown on the window. |
boolean |
isUndecorated()
Tells whether new windows will be decorated or not. |
void |
setKind(DefaultScreenDockWindowFactory.Kind kind)
Sets the kind of window that this factory will create |
void |
setShowDockTitle(boolean showDockTitle)
Sets whether the DockTitle is normally shown on the window. |
void |
setTitleIcon(Icon titleIcon)
Sets the icon which should be used in the decorated title. |
void |
setTitleText(String titleText)
Sets the text which is used in decorated titles. |
void |
setUndecorated(boolean undecorated)
Sets whether the windows created by this factory should be undecorated or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultScreenDockWindowFactory()
Method Detail |
---|
public void setKind(DefaultScreenDockWindowFactory.Kind kind)
kind
- the kind of windowpublic DefaultScreenDockWindowFactory.Kind getKind()
public void setUndecorated(boolean undecorated)
undecorated
- true
if they should not be decorated,
false
otherwisepublic boolean isUndecorated()
true
if they are not decoratedpublic void setShowDockTitle(boolean showDockTitle)
DockTitle
is normally shown on the window.
showDockTitle
- true
if the title is shown, false
otherwisepublic boolean isShowDockTitle()
DockTitle
is normally shown on the window.
true
if shown, false
otherwisepublic void setTitleIcon(Icon titleIcon)
titleIcon
- the icon, null
if the icon of the
Dockable
should be used.public Icon getTitleIcon()
null
public void setTitleText(String titleText)
titleText
- the text, null
if the text
of the Dockable
should be usedpublic String getTitleText()
null
public ScreenDockWindow createWindow(ScreenDockStation station)
ScreenDockWindowFactory
station
.
createWindow
in interface ScreenDockWindowFactory
station
- the owner of the window
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |