com.sibvisions.rad.ui.web.impl
Class WebInsets

java.lang.Object
  extended by com.sibvisions.rad.ui.web.impl.WebResource
      extended by com.sibvisions.rad.ui.web.impl.WebInsets
All Implemented Interfaces:
IInsets, IResource

public class WebInsets
extends WebResource
implements IInsets

Web server implementation of IInsets.


Constructor Summary
WebInsets()
          Creates a new instance of WebInsets.
WebInsets(int pTop, int pLeft, int pBottom, int pRight)
          Creates a new instance of WebInsets.
 
Method Summary
 String getAsString()
          Gets this Object as String.
 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 setAsString(String pValue)
          Sets this Object as String.
 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 com.sibvisions.rad.ui.web.impl.WebResource
getNullableAsString, getResource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.rad.ui.IResource
getResource
 

Constructor Detail

WebInsets

public WebInsets()
Creates a new instance of WebInsets.

See Also:
IInsets

WebInsets

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

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

getAsString

public String getAsString()
Gets this Object as String.

Specified by:
getAsString in class WebResource
Returns:
the String.

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

setAsString

public void setAsString(String pValue)
Sets this Object as String.

Overrides:
setAsString in class WebResource
Parameters:
pValue - the String.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.