CaptionUI
Inheritance: java.lang.Object
public class CaptionUI
UI wrapper for com.aspose.barcode.generation.CaptionParameters class.
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getAlignment() | Gets the text alignment of the caption. |
getClass() | |
getColor() | Gets the forecolor of the caption. |
getFont() | Gets the font of the caption. |
getPadding() | Gets caption paddings . |
getText() | Gets the content of the caption. |
getVisible() | Gets a value indicates whether the caption is visible. |
hashCode() | |
notify() | |
notifyAll() | |
setAlignment(TextAlignment value) | Sets the text alignment of the caption. |
setColor(int value) | Sets the forecolor of the caption. |
setFont(TextPaint value) | Specify the displaying CodeText’s font. |
setText(String value) | Sets the content of the caption. |
setVisible(boolean value) | Sets a value indicates whether the caption is visible. |
toString() | Returns a human-readable string representation of this . |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getAlignment()
public TextAlignment getAlignment()
Gets the text alignment of the caption.
Returns: TextAlignment
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getColor()
public int getColor()
Gets the forecolor of the caption.
Returns: int -
getFont()
public TextPaint getFont()
Gets the font of the caption.
Returns: android.text.TextPaint
getPadding()
public Padding getPadding()
Gets caption paddings .
Returns: Padding
getText()
public String getText()
Gets the content of the caption.
Returns: java.lang.String
getVisible()
public boolean getVisible()
Gets a value indicates whether the caption is visible.
Returns: boolean -
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setAlignment(TextAlignment value)
public void setAlignment(TextAlignment value)
Sets the text alignment of the caption.
Parameters:
Parameter | Type | Description |
---|---|---|
value | TextAlignment |
setColor(int value)
public void setColor(int value)
Sets the forecolor of the caption.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setFont(TextPaint value)
public void setFont(TextPaint value)
Specify the displaying CodeText’s font. Default value: Arial 5pt regular. Ignored if FontMode is set to FontMode.AUTO.
Parameters:
Parameter | Type | Description |
---|---|---|
value | android.text.TextPaint |
setText(String value)
public void setText(String value)
Sets the content of the caption.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setVisible(boolean value)
public void setVisible(boolean value)
Sets a value indicates whether the caption is visible.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
toString()
public String toString()
Returns a human-readable string representation of this .
Returns: java.lang.String - A string that represents this .
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |