glass.eclipse.theme
Class CGlassEclipseTabPainter.CTabPainter.CBorderListener
java.lang.Object
glass.eclipse.theme.CGlassEclipseTabPainter.CTabPainter.CBorderListener
- All Implemented Interfaces:
- bibliothek.gui.dock.util.DockPropertyListener<bibliothek.gui.dock.station.stack.tab.layouting.TabPlacement>
- Enclosing class:
- CGlassEclipseTabPainter.CTabPainter
protected class CGlassEclipseTabPainter.CTabPainter.CBorderListener
- extends Object
- implements bibliothek.gui.dock.util.DockPropertyListener<bibliothek.gui.dock.station.stack.tab.layouting.TabPlacement>
Listens to changes of the TabPlacement property and updates all used CEclipseBorder's.
The borders are stored in a WeakHashMap so there will be no strong reference and unused borders
are removed automatically by the garbage collector.
- Author:
- Thomas Hilbert
Method Summary |
void |
addBorder(CEclipseBorder border)
|
void |
propertyChanged(bibliothek.gui.dock.util.DockProperties properties,
bibliothek.gui.dock.util.PropertyKey<bibliothek.gui.dock.station.stack.tab.layouting.TabPlacement> property,
bibliothek.gui.dock.station.stack.tab.layouting.TabPlacement oldValue,
bibliothek.gui.dock.station.stack.tab.layouting.TabPlacement newValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wmap
protected WeakHashMap<CEclipseBorder,Void> wmap
CGlassEclipseTabPainter.CTabPainter.CBorderListener
protected CGlassEclipseTabPainter.CTabPainter.CBorderListener()
addBorder
public void addBorder(CEclipseBorder border)
propertyChanged
public void propertyChanged(bibliothek.gui.dock.util.DockProperties properties,
bibliothek.gui.dock.util.PropertyKey<bibliothek.gui.dock.station.stack.tab.layouting.TabPlacement> property,
bibliothek.gui.dock.station.stack.tab.layouting.TabPlacement oldValue,
bibliothek.gui.dock.station.stack.tab.layouting.TabPlacement newValue)
- Specified by:
propertyChanged
in interface bibliothek.gui.dock.util.DockPropertyListener<bibliothek.gui.dock.station.stack.tab.layouting.TabPlacement>