Package com.im.ijc.core.api.renderers
Interface IJCWidgetTextRenderer.TextFormatInfo
-
- Enclosing interface:
- IJCWidgetTextRenderer
public static interface IJCWidgetTextRenderer.TextFormatInfo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.awt.Color
getBackground()
java.awt.Font
getFont()
java.awt.Color
getForeground()
int
getHorizontalAlignment()
Returns the alignment of the label's contents along the X axis.boolean
getLineWrap()
java.lang.String
getValueAsText()
int
getVerticalAlignment()
Returns the alignment of the label's contents along the Y axis.
-
-
-
Method Detail
-
getValueAsText
java.lang.String getValueAsText()
-
getFont
java.awt.Font getFont()
-
getHorizontalAlignment
int getHorizontalAlignment()
Returns the alignment of the label's contents along the X axis.- Returns:
- Value of the horizontalAlignment property as specified by constants defined in
StyleConstants
:ALIGN_LEFT
,ALIGN_CENTER
,ALIGN_RIGHT
orALIGN_JUSTIFIED
. - See Also:
StyleConstants
-
getVerticalAlignment
int getVerticalAlignment()
Returns the alignment of the label's contents along the Y axis.- Returns:
- The value of the verticalAlignment property, one of the following constants defined in
SwingConstants
:TOP
,CENTER
, orBOTTOM
. - See Also:
SwingConstants
-
getBackground
java.awt.Color getBackground()
-
getForeground
java.awt.Color getForeground()
-
getLineWrap
boolean getLineWrap()
-
-