Inserting StyledText

To insert a styledText component:

  1. In the Design Structure Window of the desired file, locate the node in which you wish to insert a styledText component.
  2. In the Component Palette, select Simple Components from the dropdown list, and then drag and drop the styledText component to the parent node of your choice.

    The styledText node is inserted and highlighted under the expanded parent node.

  3. In the Property Inspector, set the following attributes for the styledText component:

Note: To use data binding, see Data Binding a Component Attribute.

Examples (UIX XML)


...
<styledText text="OraInstructionTextStrong"
            styleClass="OraInstructionTextStrong"/>
...
<styledText text="Destination has accessKey"
            destination="http://www.example.org"
            accessKey="d"
            styleClass="OraInstructionText"/>
...
<flowLayout>
  <contents>
    <checkBox name="checkbox1" value="1" id="checkme"/>
    <styledText textAndAccessKey="&amp;Toggle the &lt;checkBox&gt;"
                labeledNodeId="checkme"
                styleClass="OraHeaderSubSub"/>
  </contents>
</flowLayout>
...    

About StyledText

Working with Simple and Miscellaneous Components

 

Copyright © 1997, 2004, Oracle. All rights reserved.