com.mindfusion.diagramming
Class Thickness

java.lang.Object
  extended by com.mindfusion.diagramming.Thickness
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class Thickness
extends java.lang.Object
implements java.io.Externalizable

See Also:
Serialized Form

Constructor Summary
Thickness()
           
Thickness(float uniformLength)
           
Thickness(float left, float top, float right, float bottom)
           
 
Method Summary
 float getBottom()
           
 float getLeft()
           
 float getRight()
           
 float getTop()
           
 void readExternal(java.io.ObjectInput in)
           
 void setBottom(float bottom)
           
 void setLeft(float left)
           
 void setRight(float right)
           
 void setTop(float top)
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Thickness

public Thickness()

Thickness

public Thickness(float uniformLength)

Thickness

public Thickness(float left,
                 float top,
                 float right,
                 float bottom)
Method Detail

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

getLeft

public float getLeft()
Returns:
the left

setLeft

public void setLeft(float left)
Parameters:
left - the left to set

getTop

public float getTop()
Returns:
the top

setTop

public void setTop(float top)
Parameters:
top - the top to set

getRight

public float getRight()
Returns:
the right

setRight

public void setRight(float right)
Parameters:
right - the right to set

getBottom

public float getBottom()
Returns:
the bottom

setBottom

public void setBottom(float bottom)
Parameters:
bottom - the bottom to set