org.apache.poi.ss.usermodel
Interface Textbox
-
public interface Textbox
-
-
Field Summary
Fields Modifier and Type Field and Description static shortOBJECT_TYPE_TEXT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description intgetMarginBottom()Gets the bottom margin within the textbox.intgetMarginLeft()intgetMarginRight()intgetMarginTop()RichTextStringgetString()voidsetMarginBottom(int marginBottom)Sets the bottom margin within the textbox.voidsetMarginLeft(int marginLeft)Sets the left margin within the textbox.voidsetMarginRight(int marginRight)Sets the right margin within the textbox.voidsetMarginTop(int marginTop)Sets the top margin within the textbox.voidsetString(RichTextString string)
-
-
-
Field Detail
-
OBJECT_TYPE_TEXT
static final short OBJECT_TYPE_TEXT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getString
RichTextString getString()
- Returns:
- the rich text string for this textbox.
-
setString
void setString(RichTextString string)
- Parameters:
string- Sets the rich text string used by this object.
-
getMarginLeft
int getMarginLeft()
- Returns:
- Returns the left margin within the textbox.
-
setMarginLeft
void setMarginLeft(int marginLeft)
Sets the left margin within the textbox.
-
getMarginRight
int getMarginRight()
- Returns:
- returns the right margin within the textbox.
-
setMarginRight
void setMarginRight(int marginRight)
Sets the right margin within the textbox.
-
getMarginTop
int getMarginTop()
- Returns:
- returns the top margin within the textbox.
-
setMarginTop
void setMarginTop(int marginTop)
Sets the top margin within the textbox.
-
getMarginBottom
int getMarginBottom()
Gets the bottom margin within the textbox.
-
setMarginBottom
void setMarginBottom(int marginBottom)
Sets the bottom margin within the textbox.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG