net.yura.mobile.gui.components
Class TextPane.TextStyle

java.lang.Object
  extended by net.yura.mobile.gui.plaf.Style
      extended by net.yura.mobile.gui.components.TextPane.TextStyle
Enclosing class:
TextPane

public static class TextPane.TextStyle
extends Style

See Also:
javax.TextStyle.text.AttributeSet

Field Summary
static int ALIGN_CENTER
           
static int ALIGN_JUSTIFIED
           
static int ALIGN_LEFT
           
static int ALIGN_RIGHT
           
 
Fields inherited from class net.yura.mobile.gui.plaf.Style
ALL, DISABLED, FOCUSED, NO_COLOR, SELECTED
 
Constructor Summary
TextPane.TextStyle()
           
 
Method Summary
 String getAction()
           
 int getAlignment()
           
 int getBackground()
           
 int getForeground()
           
 Icon getIcon()
           
 String getName()
           
 boolean isBold()
           
 boolean isItalic()
           
 boolean isUnderline()
           
 void putAll(Style attributes)
           
 void setAction(String action)
           
 void setAlignment(int alignment)
           
 void setBackground(int c)
           
 void setBold(boolean b)
           
 void setForeground(int c)
           
 void setIcon(Icon icon)
           
 void setItalic(boolean b)
           
 void setName(String name)
           
 void setUnderline(boolean b)
           
 void updateUI()
           
 
Methods inherited from class net.yura.mobile.gui.plaf.Style
addBackground, addBorder, addFont, addForeground, addProperty, getBackground, getBorder, getFont, getForeground, getIntProperty, getProperty, reset, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ALIGN_CENTER

public static final int ALIGN_CENTER
See Also:
StyleConstants.ALIGN_CENTER, Constant Field Values

ALIGN_JUSTIFIED

public static final int ALIGN_JUSTIFIED
See Also:
StyleConstants.ALIGN_JUSTIFIED, Constant Field Values

ALIGN_LEFT

public static final int ALIGN_LEFT
See Also:
StyleConstants.ALIGN_LEFT, Constant Field Values

ALIGN_RIGHT

public static final int ALIGN_RIGHT
See Also:
StyleConstants.ALIGN_RIGHT, Constant Field Values
Constructor Detail

TextPane.TextStyle

public TextPane.TextStyle()
Method Detail

getAction

public String getAction()

getAlignment

public int getAlignment()
See Also:
StyleConstants.getAlignment

getBackground

public int getBackground()

getForeground

public int getForeground()

getIcon

public Icon getIcon()

getName

public String getName()

isBold

public boolean isBold()

isItalic

public boolean isItalic()

isUnderline

public boolean isUnderline()

putAll

public void putAll(Style attributes)
Overrides:
putAll in class Style

setAction

public void setAction(String action)

setAlignment

public void setAlignment(int alignment)
See Also:
StyleConstants.getAlignment

setBackground

public void setBackground(int c)

setBold

public void setBold(boolean b)

setForeground

public void setForeground(int c)

setIcon

public void setIcon(Icon icon)

setItalic

public void setItalic(boolean b)

setName

public void setName(String name)

setUnderline

public void setUnderline(boolean b)

updateUI

public void updateUI()