|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.barcode.jr.Caption
public class Caption
Representing captions on the barcode image
Constructor Summary | |
---|---|
Caption()
Constructs x Caption with default settings |
|
Caption(java.lang.String text)
Constructs x Caption with x custom label |
|
Caption(java.lang.String text,
java.awt.Font font,
java.awt.Color color)
Constructs x Caption with x custom label |
|
Caption(java.lang.String text,
java.awt.Font font,
java.awt.Color color,
boolean visible,
int textAlign)
Construts x Caption with x custom label |
|
Caption(java.lang.String text,
java.awt.Font font,
java.awt.Color color,
int textAlign)
Constructs x Caption with x custom label |
Method Summary | |
---|---|
java.awt.Color |
getColor()
Gets the caption's color |
java.awt.Font |
getFont()
Gets the caption's font |
java.lang.String |
getText()
Gets the caption's text |
int |
getTextAlign()
Gets the text alignment |
boolean |
getVisible()
Gets whether caption is visible |
void |
setColor(java.awt.Color value)
Sets the caption's color |
void |
setFont(java.awt.Font value)
Sets the caption's font |
void |
setText(java.lang.String value)
Sets the caption's text |
void |
setTextAlign(int value)
Sets the text alignment |
void |
setVisible(boolean value)
Sets whether caption is visible |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Caption()
public Caption(java.lang.String text)
text
- Stringpublic Caption(java.lang.String text, java.awt.Font font, java.awt.Color color)
text
- text labelfont
- text label's fontcolor
- text label's colorpublic Caption(java.lang.String text, java.awt.Font font, java.awt.Color color, int textAlign)
text
- text labelfont
- text label's fontcolor
- text label's colortextAlign
- text label's alignmentTextAlign
public Caption(java.lang.String text, java.awt.Font font, java.awt.Color color, boolean visible, int textAlign)
text
- text labelfont
- text label's fontcolor
- text label's colorvisible
- text label's visibilitytextAlign
- text label's alignmentTextAlign
Method Detail |
---|
public java.lang.String getText()
Gets the caption's text
public void setText(java.lang.String value)
Sets the caption's text
public java.awt.Font getFont()
Gets the caption's font
public void setFont(java.awt.Font value)
Sets the caption's font
value
- public java.awt.Color getColor()
Gets the caption's color
public void setColor(java.awt.Color value)
Sets the caption's color
value
- of Color java.awt.Colorpublic boolean getVisible()
public void setVisible(boolean value)
public int getTextAlign()
public void setTextAlign(int value)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |