bibliothek.gui.dock.station.toolbar
Class ToolbarProperty

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

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

Described the location of a child of a ToolbarGroupDockStation or a ToolbarDockStation.

Author:
Benjamin Sigg

Constructor Summary
ToolbarProperty()
          Creates a new, empty ToolbarProperty.
ToolbarProperty(int index, bibliothek.util.Path placeholder)
          Creates a new property.
 
Method Summary
 bibliothek.gui.dock.layout.DockableProperty copy()
           
 String getFactoryID()
           
 int getIndex()
          Gets the index of the child on its parent.
 bibliothek.util.Path getPlaceholder()
          Gets the name of the child.
 void load(DataInputStream in)
           
 void load(bibliothek.util.xml.XElement element)
           
 void store(DataOutputStream out)
           
 void store(bibliothek.util.xml.XElement element)
           
 
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, toString, wait, wait, wait
 

Constructor Detail

ToolbarProperty

public ToolbarProperty()
Creates a new, empty ToolbarProperty.


ToolbarProperty

public ToolbarProperty(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()

getIndex

public int getIndex()
Gets the index of the child on its parent.

Returns:
the index

getPlaceholder

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

Returns:
the name of the child, can be null

getFactoryID

public String getFactoryID()

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)