GraphicText |
||||||||||||||||||||||||||||||||||||||||||||
|
Developer’s Guide Home
Installation and Configuration Components Index Calendar Chart Confirmation Data Table Date Chooser Drop Down Field Dynamic Image Folding Panel Graphic Text Hint Label Popup Layer Suggestion Field Tab Set Tabbed Pane Tree Table Two List Selection Focus Load Bundle Scroll Position Ajax Support Validation Framework Tag Reference |
Key FeaturesBasic configurationTo add the GraphicText component to the page, use the <q:graphicText> tag. The value attribute of the <q:graphicText> tag lets you specify the text for the component. In the following example the GraphicText component with a "GraphicText" text is displayed. <q:graphicText value="GraphicText" />
Like the UIOutputText component the GraphicText component supports the following attributes: id, converter, rendered, value, lang, style, title, binding. Text RotationThe user can rotate the text with the GraphicText to any angle. To use this feature, you should set the direction attribute. This attribute specifies rotation angle in degrees. The following example demonstrates the "Example text" text with an angle of 315 degrees. <q:graphicText value="Example text" direction="315"/> In addition, the direction attribute can get one of the following values:
Here are the examples of the GraphicText rotation angles:
Customizing StylesYou can define a style for the GraphicText component using the style attribute.
The GraphicText's background is always transparent. Client-Side EventsThe GraphicText component supports a set of standard client-side events such as onclick, ondblclick, onmousedown, onmouseover, onmousemove, onmouseout, onmouseup. |
|||||||||||||||||||||||||||||||||||||||||||
| © 2008 TeamDev Ltd. | ||||||||||||||||||||||||||||||||||||||||||||