bibliothek.gui.dock.station.toolbar.group
Class ToolbarGroupProperty

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

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

Describes the position of one child of a ToolbarGroupDockStation.

Author:
Benjamin Sigg

Constructor Summary
ToolbarGroupProperty()
          Creates a new, empty property
ToolbarGroupProperty(int column, int line, bibliothek.util.Path placeholder)
          Creates a new property.
 
Method Summary
 bibliothek.gui.dock.layout.DockableProperty copy()
           
 int getColumn()
          Gets the column in which the dockable was.
 String getFactoryID()
           
 int getLine()
          Gets the line in the column in which the dockable was.
 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

ToolbarGroupProperty

public ToolbarGroupProperty()
Creates a new, empty property


ToolbarGroupProperty

public ToolbarGroupProperty(int column,
                            int line,
                            bibliothek.util.Path placeholder)
Creates a new property.

Parameters:
column - the index of the column
line - the index of the line within the column
placeholder - the name of the dockable, can be null
Method Detail

getColumn

public int getColumn()
Gets the column in which the dockable was.

Returns:
the column

getLine

public int getLine()
Gets the line in the column in which the dockable was.

Returns:
the line in the column

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

copy

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

getFactoryID

public String getFactoryID()

store

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

store

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

load

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

load

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