bibliothek.gui.dock.themes.basic
Class BasicDockableDisplayer.Hints

java.lang.Object
  extended by bibliothek.gui.dock.themes.basic.BasicDockableDisplayer.Hints
All Implemented Interfaces:
DockableDisplayerHints
Enclosing class:
BasicDockableDisplayer

protected class BasicDockableDisplayer.Hints
extends Object
implements DockableDisplayerHints

This implementation of DockableDisplayerHints forwards any changes to its BasicDockableDisplayer.

Author:
Benjamin Sigg

Constructor Summary
protected BasicDockableDisplayer.Hints()
           
 
Method Summary
 boolean getShowBorderHint()
          Gets the hint that tells whether the border should be shown or not.
 DockStation getStation()
          Gets the DockStation which is currently responsible for showing a Dockable.
 void setShowBorderHint(Boolean border)
          Tells whether to paint a border or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicDockableDisplayer.Hints

protected BasicDockableDisplayer.Hints()
Method Detail

getStation

public DockStation getStation()
Description copied from interface: DockableDisplayerHints
Gets the DockStation which is currently responsible for showing a Dockable.

Specified by:
getStation in interface DockableDisplayerHints

setShowBorderHint

public void setShowBorderHint(Boolean border)
Description copied from interface: DockableDisplayerHints
Tells whether to paint a border or not.

Specified by:
setShowBorderHint in interface DockableDisplayerHints
Parameters:
border - true if the border should be painted, false if not, null if the default setting should be used

getShowBorderHint

public boolean getShowBorderHint()
Gets the hint that tells whether the border should be shown or not.

Returns:
whether the border should be shown