bibliothek.gui.dock.station.toolbar
Class ToolbarContainerProperty

java.lang.Object
  extended by bibliothek.gui.dock.layout.AbstractDockableProperty
      extended by bibliothek.gui.dock.station.toolbar.ToolbarContainerProperty
All Implemented Interfaces:
bibliothek.gui.dock.layout.DockableProperty

public class ToolbarContainerProperty
extends bibliothek.gui.dock.layout.AbstractDockableProperty

Describes the location of a child of a ToolbarContainerDockStation.

Author:
Benjamin Sigg, Herve Guillaume

Constructor Summary
ToolbarContainerProperty()
          Creates a new, empty ToolbarProperty.
ToolbarContainerProperty(int index, bibliothek.util.Path placeholder)
          Creates a new property.
 
Method Summary
 bibliothek.gui.dock.layout.DockableProperty copy()
           
 String getFactoryID()
           
 int getIndex()
          Gets the location of the Dockable in its list.
 bibliothek.util.Path getPlaceholder()
          Gets the name of the Dockable.
 void load(DataInputStream in)
           
 void load(bibliothek.util.xml.XElement element)
           
 void store(DataOutputStream out)
           
 void store(bibliothek.util.xml.XElement element)
           
 String toString()
           
 
Methods inherited from class bibliothek.gui.dock.layout.AbstractDockableProperty
copy, equals, equalsNoSuccessor, getSuccessor, hashCode, setSuccessor
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ToolbarContainerProperty

public ToolbarContainerProperty()
Creates a new, empty ToolbarProperty.


ToolbarContainerProperty

public ToolbarContainerProperty(int index,
                                bibliothek.util.Path placeholder)
Creates a new property.

Parameters:
index - the index of a child of a DockStation
placeholder - the name of the child, can be null
Method Detail

copy

public bibliothek.gui.dock.layout.DockableProperty copy()

getFactoryID

public String getFactoryID()

getIndex

public int getIndex()
Gets the location of the Dockable in its list.

Returns:
the index

getPlaceholder

public bibliothek.util.Path getPlaceholder()
Gets the name of the Dockable.

Returns:
the name, can be null

toString

public String toString()
Overrides:
toString in class Object

store

public void store(DataOutputStream out)
           throws IOException
Throws:
IOException

load

public void load(DataInputStream in)
          throws IOException
Throws:
IOException

store

public void store(bibliothek.util.xml.XElement element)

load

public void load(bibliothek.util.xml.XElement element)