net.sf.doolin.gui.docking.storage
Class OXMLDocking

java.lang.Object
  extended by net.sf.doolin.gui.docking.storage.OXMLDocking

public class OXMLDocking
extends Object

Bean used by the XMLDockingStorage when retrieving the DockDescription from an XML template.

Author:
Damien Coraboeuf

Constructor Summary
OXMLDocking()
           
 
Method Summary
 DockDescription convert()
          Converts this bean to a DockDescription instance
 String getClassName()
          Gets the class name for the dock
 List<OXMLDocking> getDescriptions()
          Gets the list of sub-docks
 String getPosition()
          Gets the position of this dock
 Dimension getSize()
          Gets the size of this dock
 List<String> getViewIds()
          Gets the list of view IDs
 boolean isLeaf()
          Checks if this dock is a leaf.
 void setClassName(String className)
          Sets the class name for this dock
 void setLeaf(boolean leaf)
          Sets if this dock is a leaf.
 void setPosition(String position)
          Sets the position of this dock
 void setSize(Dimension size)
          Sets the size of this dock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OXMLDocking

public OXMLDocking()
Method Detail

convert

public DockDescription convert()
Converts this bean to a DockDescription instance

Returns:
Result of the conversion

getClassName

public String getClassName()
Gets the class name for the dock

Returns:
Class name

getDescriptions

public List<OXMLDocking> getDescriptions()
Gets the list of sub-docks

Returns:
List of docking descriptions

getPosition

public String getPosition()
Gets the position of this dock

Returns:
Position

getSize

public Dimension getSize()
Gets the size of this dock

Returns:
Size

getViewIds

public List<String> getViewIds()
Gets the list of view IDs

Returns:
List of view IDs

isLeaf

public boolean isLeaf()
Checks if this dock is a leaf.

Returns:
true if this dock is a leaf.

setClassName

public void setClassName(String className)
Sets the class name for this dock

Parameters:
className - Class name

setLeaf

public void setLeaf(boolean leaf)
Sets if this dock is a leaf.

Parameters:
leaf - true if this dock is a leaf.

setPosition

public void setPosition(String position)
Sets the position of this dock

Parameters:
position - Position

setSize

public void setSize(Dimension size)
Sets the size of this dock

Parameters:
size - Size


Copyright © 2011. All Rights Reserved.