org.openfaces.component.output
Class GraphicText

java.lang.Object
  extended by UIOutput
      extended by org.openfaces.component.OUIOutput
          extended by org.openfaces.component.output.GraphicText
All Implemented Interfaces:
OUIComponent, org.openfaces.renderkit.cssparser.StyledComponent

public class GraphicText
extends OUIOutput
implements org.openfaces.renderkit.cssparser.StyledComponent

GraphicText is a component that displays styled rotated text. It has API similar to the standard component, though unlike the component, the GraphicText component displays a text with an image generated on the server. This component can be useful for displaying vertical headers in a table having a lot of thin columns, vertical TabSet components, etc.


Field Summary
static int BOTTOM_TO_TOP
           
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static int LEFT_TO_RIGHT
           
static int RIGHT_TO_LEFT
           
static int TOP_TO_BOTTOM
           
 
Constructor Summary
GraphicText()
           
 
Method Summary
 org.openfaces.renderkit.cssparser.StyledComponent[] getComponentsChain()
           
 int getDirection()
           
 java.lang.String getFamily()
           
 java.lang.String getHint()
           
 java.lang.String getLang()
           
 org.openfaces.renderkit.cssparser.StyleObjectModel getStyleObjectModel()
           
 java.lang.String getTextStyle()
           
 java.lang.String getTitle()
           
 java.lang.Object getValue()
           
 void restoreState(FacesContext context, java.lang.Object object)
           
 java.lang.Object saveState(FacesContext context)
           
 void setDirection(int direction)
           
 void setLang(java.lang.String lang)
           
 void setTextStyle(java.lang.String textStyle)
           
 void setTitle(java.lang.String title)
           
 void setValue(java.lang.Object value)
           
 
Methods inherited from class org.openfaces.component.OUIOutput
getOnblur, getOnclick, getOncontextmenu, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRolloverClass, getRolloverStyle, getStyle, getStyleClass, setOnblur, setOnclick, setOncontextmenu, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRolloverClass, setRolloverStyle, setStyle, setStyleClass
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values

LEFT_TO_RIGHT

public static final int LEFT_TO_RIGHT
See Also:
Constant Field Values

RIGHT_TO_LEFT

public static final int RIGHT_TO_LEFT
See Also:
Constant Field Values

TOP_TO_BOTTOM

public static final int TOP_TO_BOTTOM
See Also:
Constant Field Values

BOTTOM_TO_TOP

public static final int BOTTOM_TO_TOP
See Also:
Constant Field Values
Constructor Detail

GraphicText

public GraphicText()
Method Detail

getFamily

public java.lang.String getFamily()

getTextStyle

public java.lang.String getTextStyle()
Specified by:
getTextStyle in interface org.openfaces.renderkit.cssparser.StyledComponent

setTextStyle

public void setTextStyle(java.lang.String textStyle)
Specified by:
setTextStyle in interface org.openfaces.renderkit.cssparser.StyledComponent

getHint

public java.lang.String getHint()
Specified by:
getHint in interface org.openfaces.renderkit.cssparser.StyledComponent

getValue

public java.lang.Object getValue()

setValue

public void setValue(java.lang.Object value)

getDirection

public int getDirection()

setDirection

public void setDirection(int direction)

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String title)

getLang

public java.lang.String getLang()

setLang

public void setLang(java.lang.String lang)

getStyleObjectModel

public org.openfaces.renderkit.cssparser.StyleObjectModel getStyleObjectModel()
Specified by:
getStyleObjectModel in interface org.openfaces.renderkit.cssparser.StyledComponent

getComponentsChain

public org.openfaces.renderkit.cssparser.StyledComponent[] getComponentsChain()
Specified by:
getComponentsChain in interface org.openfaces.renderkit.cssparser.StyledComponent

saveState

public java.lang.Object saveState(FacesContext context)
Overrides:
saveState in class OUIOutput

restoreState

public void restoreState(FacesContext context,
                         java.lang.Object object)
Overrides:
restoreState in class OUIOutput


Copyright © 1998-2009 TeamDev Ltd. All Rights Reserved.