Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.javatools.ui.simplestyle
Class StyledTextAttribute

java.lang.Object
  extended by oracle.javatools.ui.simplestyle.StyledTextAttribute

public class StyledTextAttribute
extends java.lang.Object

Class to hold the attributes for a section (run) of same style text.


Nested Class Summary
static class StyledTextAttribute.AttributeType
           
 
Constructor Summary
StyledTextAttribute()
          Construct a StyledTextAttribute with the default label style for this look and feel
StyledTextAttribute(java.awt.Font font, java.awt.Color foreground)
          Construct a StyledTextAttribute with the given font and foreground color
 
Method Summary
 void addAttribute(StyledTextAttribute.AttributeType type, java.lang.Object value)
           
 java.lang.Object getAttribute(StyledTextAttribute.AttributeType type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StyledTextAttribute

public StyledTextAttribute()
Construct a StyledTextAttribute with the default label style for this look and feel


StyledTextAttribute

public StyledTextAttribute(java.awt.Font font,
                           java.awt.Color foreground)
Construct a StyledTextAttribute with the given font and foreground color

Parameters:
font -
foreground -
Method Detail

getAttribute

public java.lang.Object getAttribute(StyledTextAttribute.AttributeType type)

addAttribute

public void addAttribute(StyledTextAttribute.AttributeType type,
                         java.lang.Object value)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

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