![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate |
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.pdf.kit.FormFieldFacade
Represents a class which is used to record visual attributes of a field.
Field Summary | |
static int |
ALIGN_CENTER
Defines aglignment as center style. |
static int |
ALIGN_LEFT
Defines aglignment as left style, which is also the default. |
static int |
ALIGN_RIGHT
Defines aglignment as right style. |
static int |
ALIGN_UNDIFINED
Undefined aglignment style. |
static int |
BDSTYLE_BEVELED
Defines a beveled border style. |
static int |
BDSTYLE_DASHED
Defines a dashed border style. |
static int |
BDSTYLE_INSET
Defines an inserted border style. |
static int |
BDSTYLE_SOLID
Defines a solid border style, which is also the default. |
static int |
BDSTYLE_UNDERLINE
Defines an underlined border style. |
static int |
BDSTYLE_UNDIFINED
Undefined border style. |
static float |
BDWIDTH_MEDIUM
Defines a medium border width. |
static float |
BDWIDTH_THICK
Defines a thick border width. |
static float |
BDWIDTH_THIN
Defines a thin border width, which is also the default. |
static float |
BDWIDTH_UNDIFINED
Undefined border width. |
static int |
BTNSTYLE_CHECK
Defines a check button style. |
static int |
BTNSTYLE_CIRCLE
Defines a circle button style. |
static int |
BTNSTYLE_CROSS
Defines a cross button style. |
static int |
BTNSTYLE_DIAMOND
Defines a diamond button style. |
static int |
BTNSTYLE_SQUARE
Defines a square button style. |
static int |
BTNSTYLE_STAR
Defines a star button style. |
static int |
BTNSTYLE_UNDEFINED
Represents a undefined button style. |
Constructor Summary | |
FormFieldFacade()
Represents the constructor of the FormFieldFacade object without any parameter |
Method Summary | |
int |
getAlignment()
Getter of alignment. |
java.awt.Color |
getBackgroudColor()
Getter of backgroudColor. |
java.awt.Color |
getBorderColor()
Getter of borderColor. |
int |
getBorderStyle()
Getter of borderStyle. |
float |
getBorderWidth()
Getter of borderWidth. |
com.aspose.pdf.kit.Rectangle |
getBox()
Getter of box. |
int |
getButtonStyle()
|
java.lang.String |
getCaption()
Getter of caption. |
java.lang.String |
getFont()
Getter of font. |
float |
getFontSize()
Getter of fontSize. |
int |
getRotation()
Getter of rotation. |
java.awt.Color |
getTextColor()
Getter of textColor. |
void |
reset()
|
void |
setAlignment(int alignment)
Setter of alignment. |
void |
setBackgroudColor(java.awt.Color backgroudColor)
Setter of backgroudColor. |
void |
setBorderColor(java.awt.Color borderColor)
Setter of borderColor. |
void |
setBorderStyle(int borderStyle)
Setter of borderStyle. |
void |
setBorderWidth(float borderWidth)
Setter of borderWidth. |
void |
setBox(com.aspose.pdf.kit.Rectangle box)
Setter of box. |
void |
setButtonStyle(int buttonStyle)
|
void |
setCaption(java.lang.String caption)
Setter of caption. |
void |
setFont(java.lang.String fontName)
Setter of font. |
void |
setFontSize(float fontSize)
Setter of fontSize. |
void |
setRotation(int rotation)
Setter of rotation. |
void |
setTextColor(java.awt.Color textColor)
Setter of textColor. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final float BDWIDTH_THIN
public static final float BDWIDTH_MEDIUM
public static final float BDWIDTH_THICK
public static final float BDWIDTH_UNDIFINED
public static final int BDSTYLE_SOLID
public static final int BDSTYLE_DASHED
public static final int BDSTYLE_BEVELED
public static final int BDSTYLE_INSET
public static final int BDSTYLE_UNDERLINE
public static final int BDSTYLE_UNDIFINED
public static final int ALIGN_LEFT
public static final int ALIGN_CENTER
public static final int ALIGN_RIGHT
public static final int ALIGN_UNDIFINED
public static final int BTNSTYLE_CHECK
public static final int BTNSTYLE_CIRCLE
public static final int BTNSTYLE_CROSS
public static final int BTNSTYLE_DIAMOND
public static final int BTNSTYLE_STAR
public static final int BTNSTYLE_SQUARE
public static final int BTNSTYLE_UNDEFINED
Constructor Detail |
public FormFieldFacade()
Method Detail |
public void reset()
public void setAlignment(int alignment)
alignment
- The alignment style of field text,
should be FormFieldFacade.ALIGN_*.public void setBackgroudColor(java.awt.Color backgroudColor)
backgroudColor
- The color of a field background, default is white.public void setBorderColor(java.awt.Color borderColor)
borderColor
- The color of a field border.public void setBorderStyle(int borderStyle)
borderStyle
- The style of a field border,
Should be FormFieldFacade.BDSTYLE_*, default is BDSTYLE_SOLID.public void setBorderWidth(float borderWidth)
borderWidth
- The width of a field border,
should be FormFieldFacade.BDWIDTH_*, default is BDWIDTH_THIN.public void setBox(com.aspose.pdf.kit.Rectangle box)
box
- The rectangle containing a field.public void setFont(java.lang.String fontName)
fontName
- The font name of a field text,
should be FontStyle.*, default is Helvetica.public void setFontSize(float fontSize)
fontSize
- The size of a field text. 0 means auto-suiting.public void setRotation(int rotation)
rotation
- The rotation of a field text, default is zero.public void setTextColor(java.awt.Color textColor)
textColor
- The color of a field text, default is black.public void setCaption(java.lang.String caption)
caption
- The normal caption of field.public int getAlignment()
public java.awt.Color getBackgroudColor()
public java.awt.Color getBorderColor()
public int getBorderStyle()
public float getBorderWidth()
public com.aspose.pdf.kit.Rectangle getBox()
public java.lang.String getCaption()
public java.lang.String getFont()
public float getFontSize()
public int getRotation()
public java.awt.Color getTextColor()
public int getButtonStyle()
public void setButtonStyle(int buttonStyle)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |