com.f1j.drawing
Interface TextboxFormat


public interface TextboxFormat
extends FormatBase

The Textbox Format interface.


Inner Class Summary
static class TextboxFormat.EProperty
          Textbox Format Property enumeration
 
Field Summary
static TextboxFormat.EProperty eAutoMargins
          Auto margins property
static TextboxFormat.EProperty eMarginBottom
          Margin bottom property
static TextboxFormat.EProperty eMarginLeft
          Margin left property
static TextboxFormat.EProperty eMarginRight
          Margin right property
static TextboxFormat.EProperty eMarginTop
          Margin top property
 
Method Summary
 double getMarginBottom()
          Returns the bottom margin.
 double getMarginLeft()
          Returns the left margin.
 double getMarginRight()
          Returns the right margin.
 double getMarginTop()
          Returns the top margin.
 boolean isAutoMargins()
          Returns whether or not the margins are automatically computed.
 void setAutoMargins(boolean b)
          Sets whether or not the margins should be automatically computed.
 void setMarginBottom(double value)
          Sets the bottom margin.
 void setMarginLeft(double value)
          Sets the left margin.
 void setMarginRight(double value)
          Sets the right margin.
 void setMarginTop(double value)
          Sets the top margin.
 
Methods inherited from interface com.f1j.util.FormatBase
isUndefined, isUndefined, isUsed, setUndefined, undefineAll, useAll
 

Field Detail

eAutoMargins

public static final TextboxFormat.EProperty eAutoMargins
Auto margins property

eMarginBottom

public static final TextboxFormat.EProperty eMarginBottom
Margin bottom property

eMarginLeft

public static final TextboxFormat.EProperty eMarginLeft
Margin left property

eMarginRight

public static final TextboxFormat.EProperty eMarginRight
Margin right property

eMarginTop

public static final TextboxFormat.EProperty eMarginTop
Margin top property
Method Detail

getMarginBottom

public double getMarginBottom()
Returns the bottom margin.
Returns:
the bottom margin.

getMarginLeft

public double getMarginLeft()
Returns the left margin.
Returns:
the left margin.

getMarginRight

public double getMarginRight()
Returns the right margin.
Returns:
the right margin.

getMarginTop

public double getMarginTop()
Returns the top margin.
Returns:
the top margin.

isAutoMargins

public boolean isAutoMargins()
Returns whether or not the margins are automatically computed.
Returns:
whether or not the margins are automatically computed.

setAutoMargins

public void setAutoMargins(boolean b)
Sets whether or not the margins should be automatically computed.
Parameters:
b - whether or not the margins should be automatically computed.

setMarginBottom

public void setMarginBottom(double value)
                     throws InvalidArgumentException
Sets the bottom margin.
Parameters:
value - the margin.

setMarginLeft

public void setMarginLeft(double value)
                   throws InvalidArgumentException
Sets the left margin.
Parameters:
value - the margin.

setMarginRight

public void setMarginRight(double value)
                    throws InvalidArgumentException
Sets the right margin.
Parameters:
value - the margin.

setMarginTop

public void setMarginTop(double value)
                  throws InvalidArgumentException
Sets the top margin.
Parameters:
value - the margin.