Represents a button cell.
-
Constructor Summary
Constructors
Create a button cell type.
-
Method Summary
Gets the button's background color.
double
Gets the button's bottom margin in pixels relative to the cell.
double
Gets the button's left margin in pixels relative to the cell.
double
Gets the button's right margin in pixels relative to the cell.
double
Gets the button's top margin in pixels relative to the cell.
Gets the button's content.
void
Sets the button's background color.
void
Sets the button's bottom margin in pixels relative to the cell.
void
Sets the button's left margin in pixels relative to the cell.
void
Sets the button's right margin in pixels relative to the cell.
void
Sets the button's top margin in pixels relative to the cell.
void
Sets the button's content.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
public ButtonCellType()
Create a button cell type.
-
Method Details
-
getText
Gets the button's content.
- Returns:
- The text content of the button.
-
setText
public void setText(String value)
Sets the button's content.
- Parameters:
value
- The text content of the button.
-
-
-
getMarginLeft
public double getMarginLeft()
Gets the button's left margin in pixels relative to the cell.
- Returns:
- The left margin of the button in pixels.
-
setMarginLeft
public void setMarginLeft(double value)
Sets the button's left margin in pixels relative to the cell.
- Parameters:
value
- The left margin of the button in pixels.
-
getMarginRight
public double getMarginRight()
Gets the button's right margin in pixels relative to the cell.
- Returns:
- The right margin of the button in pixels.
-
setMarginRight
public void setMarginRight(double value)
Sets the button's right margin in pixels relative to the cell.
- Parameters:
value
- The right margin of the button in pixels.
-
getMarginTop
public double getMarginTop()
Gets the button's top margin in pixels relative to the cell.
- Returns:
- The top margin of the button in pixels.
-
setMarginTop
public void setMarginTop(double value)
Sets the button's top margin in pixels relative to the cell.
- Parameters:
value
- The top margin of the button in pixels.
-
getMarginBottom
public double getMarginBottom()
Gets the button's bottom margin in pixels relative to the cell.
- Returns:
- The bottom margin of the button in pixels.
-
setMarginBottom
public void setMarginBottom(double value)
Sets the button's bottom margin in pixels relative to the cell.
- Parameters:
value
- The bottom margin of the button in pixels.