Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


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(java.awt.Font font, java.awt.Color foreground)
           

 

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(java.awt.Font font,
                           java.awt.Color 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

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


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