oracle.javatools.ui.simplestyle
Class StyledTextAttribute
java.lang.Object
  
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.
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
StyledTextAttribute
public StyledTextAttribute(java.awt.Font font,
                           java.awt.Color foreground)
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
 
 
Copyright © 1997, 2011, Oracle. All rights reserved.