javax.rad.genui
Class UIInsets

java.lang.Object
  extended by javax.rad.genui.UIResource<IInsets>
      extended by javax.rad.genui.UIInsets
All Implemented Interfaces:
IInsets, IResource

public class UIInsets
extends UIResource<IInsets>
implements IInsets

Platform and technology independent Insets.


Field Summary
 
Fields inherited from class javax.rad.genui.UIResource
uiResource
 
Constructor Summary
  UIInsets()
          Creates a new instance of UIInsets.
protected UIInsets(IInsets pInsets)
          Creates a new instance of UIInsets with the given insets.
  UIInsets(int pTop, int pLeft, int pBottom, int pRight)
          Creates a new instance of UIInsets.
 
Method Summary
 int getBottom()
          The bottom margin of the IInsets.
 int getLeft()
          The left margin of the IInsets.
 int getRight()
          The right margin of the IInsets.
 int getTop()
          The top margin of the IInsets.
 void setBottom(int pBottom)
          Sets the bottom margin of the IInsets.
 void setLeft(int pLeft)
          Sets the left margin of the IInsets.
 void setRight(int pRight)
          Sets the right margin of the IInsets.
 void setTop(int pTop)
          Sets the top margin of the IInsets.
 
Methods inherited from class javax.rad.genui.UIResource
equals, getResource, getUIResource, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.rad.ui.IResource
getResource
 

Constructor Detail

UIInsets

public UIInsets()
Creates a new instance of UIInsets.

See Also:
IInsets

UIInsets

protected UIInsets(IInsets pInsets)
Creates a new instance of UIInsets with the given insets.

Parameters:
pInsets - the insets
See Also:
IInsets

UIInsets

public UIInsets(int pTop,
                int pLeft,
                int pBottom,
                int pRight)
Creates a new instance of UIInsets.

Parameters:
pTop - the top
pLeft - the left
pBottom - the bottom
pRight - the right
See Also:
IInsets
Method Detail

getLeft

public int getLeft()
The left margin of the IInsets.

Specified by:
getLeft in interface IInsets
Returns:
the left margin.

setLeft

public void setLeft(int pLeft)
Sets the left margin of the IInsets.

Specified by:
setLeft in interface IInsets
Parameters:
pLeft - the left margin

getRight

public int getRight()
The right margin of the IInsets.

Specified by:
getRight in interface IInsets
Returns:
the right margin.

setRight

public void setRight(int pRight)
Sets the right margin of the IInsets.

Specified by:
setRight in interface IInsets
Parameters:
pRight - the right margin

getTop

public int getTop()
The top margin of the IInsets.

Specified by:
getTop in interface IInsets
Returns:
the top margin.

setTop

public void setTop(int pTop)
Sets the top margin of the IInsets.

Specified by:
setTop in interface IInsets
Parameters:
pTop - the top margin

getBottom

public int getBottom()
The bottom margin of the IInsets.

Specified by:
getBottom in interface IInsets
Returns:
the bottom margin.

setBottom

public void setBottom(int pBottom)
Sets the bottom margin of the IInsets.

Specified by:
setBottom in interface IInsets
Parameters:
pBottom - the bottom margin


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.