|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TextBoxElement
A TextBox is a rectangular area for printing text contents. It is a painter element. This means it can be anchored and resized. Another main difference between a text box and a text element is that textbox does not flow around other elements, or flow across pages. It is normally used to present small amount of text when text position needs to be controlled.
| Field Summary |
|---|
| Fields inherited from interface inetsoft.report.ReportElement |
|---|
AGGREGATE, AUTOSIZE, GROW, LOCAL_QUERY, QUERY, XNODEPATH |
| Method Summary | |
|---|---|
int |
getBorder()
Get the border around this text box. |
Color |
getBorderColor()
Get the border color. |
Insets |
getBorders()
Get the individual border line styles. |
Dimension |
getCornerSize()
Get the corner width and height of rounded rectangle. |
Object |
getData()
Get the data in object, it's used for binding. |
Insets |
getPadding()
Get box padding space. |
int |
getShape()
Get the textbox shape. |
String |
getText()
Return the text in the text lens. |
int |
getTextAlignment()
Get the text alignment. |
String |
getTextID()
Get the textID, which is used for i18n support. |
TextLens |
getTextLens()
Return the text lens of this text element. |
boolean |
isJustify()
Get the line justify setting. |
boolean |
isShadow()
Check the shadow option of this text box. |
void |
setBorder(int border)
Set the border around this text box. |
void |
setBorderColor(Color color)
Set the border color. |
void |
setBorders(Insets borders)
Set the individual border line styles. |
void |
setCornerSize(Dimension corner)
Set the corner width and height for rounded rectangle shape. |
void |
setData(Object val)
Set the data in object, it's used for binding. |
void |
setJustify(boolean justify)
Set the line justify setting. |
void |
setPadding(Insets padding)
Set box padding space. |
void |
setShadow(boolean shadow)
Set the shadow option of this text box. |
void |
setShape(int shape)
Set the textbox shape. |
void |
setText(String text)
Set the text contained in this text element. |
void |
setTextAlignment(int align)
Set the text alignment within the text box. |
void |
setTextID(String textID)
Set the textID, which is used for i18n support. |
void |
setTextLens(TextLens text)
Set the text contained in this text element. |
| Methods inherited from interface inetsoft.report.PainterElement |
|---|
getAnchor, getHyperlink, getHyperlinkAreas, getLayout, getMargin, getPainter, getRotation, getSize, getWrapping, setAnchor, setHyperlink, setLayout, setMargin, setPainter, setRotation, setSize, setWrapping |
| Methods inherited from interface inetsoft.report.ReportElement |
|---|
clone, getAlignment, getBackground, getCSSClass, getFont, getForeground, getFullName, getID, getIndent, getOnClick, getPreferredSize, getProperty, getPropertyNames, getScript, getSpacing, getTarget, getType, getUserObject, isHideOnPrint, isKeepWithNext, isVisible, setAlignment, setBackground, setContext, setCSSClass, setFont, setForeground, setFullName, setHideOnPrint, setID, setIndent, setKeepWithNext, setOnClick, setProperty, setScript, setSpacing, setTarget, setUserObject, setVisible |
| Methods inherited from interface inetsoft.report.HyperlinkSupport |
|---|
getHyperlink, setHyperlink |
| Method Detail |
|---|
void setBorder(int border)
border - line style in StyleConstants, e.g. THIN_LINE.int getBorder()
void setBorderColor(Color color)
Color getBorderColor()
void setBorders(Insets borders)
borders - line styles defined in StyleConstants, e.g. THIN_LINE.Insets getBorders()
void setShadow(boolean shadow)
boolean isShadow()
void setShape(int shape)
shape - textbox shape option.int getShape()
void setCornerSize(Dimension corner)
Dimension getCornerSize()
boolean isJustify()
void setJustify(boolean justify)
justify - true to justify lines.String getText()
void setText(String text)
void setTextLens(TextLens text)
TextLens getTextLens()
int getTextAlignment()
void setTextAlignment(int align)
Insets getPadding()
void setPadding(Insets padding)
Object getData()
void setData(Object val)
String getTextID()
void setTextID(String textID)
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||