org.nakedobjects.viewer.lightweight
Class Padding

java.lang.Object
  extended byorg.nakedobjects.viewer.lightweight.Padding

public class Padding
extends java.lang.Object


Constructor Summary
Padding()
           
Padding(int top, int left, int bottom, int right)
           
Padding(Padding padding)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 void extendBottom(int pad)
          Extend the padding on the bottom by the specified amount.
 void extendLeft(int pad)
          Extend the padding on the left by the specified amount.
 void extendRight(int pad)
          Extend the padding on the right by the specified amount.
 void extendTop(int pad)
          Extend the padding on the top by the specified amount.
 int getBottom()
           
 int getLeft()
           
 int getLeftRight()
           
 int getRight()
           
 int getTop()
           
 int getTopBottom()
           
 void setBottom(int bottom)
           
 void setLeft(int left)
           
 void setRight(int right)
           
 void setTop(int top)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Padding

public Padding(int top,
               int left,
               int bottom,
               int right)

Padding

public Padding()

Padding

public Padding(Padding padding)
Method Detail

setBottom

public void setBottom(int bottom)

getBottom

public int getBottom()

setLeft

public void setLeft(int left)

getLeft

public int getLeft()

getLeftRight

public int getLeftRight()

setRight

public void setRight(int right)

getRight

public int getRight()

setTop

public void setTop(int top)

getTop

public int getTop()

getTopBottom

public int getTopBottom()

extendBottom

public void extendBottom(int pad)
Extend the padding on the bottom by the specified amount.


extendLeft

public void extendLeft(int pad)
Extend the padding on the left by the specified amount.


extendRight

public void extendRight(int pad)
Extend the padding on the right by the specified amount.


extendTop

public void extendTop(int pad)
Extend the padding on the top by the specified amount.


equals

public boolean equals(java.lang.Object obj)

toString

public java.lang.String toString()