talx.view.components
Class Marque.ColoredText
java.lang.Object
talx.view.components.Marque.ColoredText
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- Marque
- public static class Marque.ColoredText
- extends java.lang.Object
- implements java.io.Serializable
Associates strings and colors.
- See Also:
- Serialized Form
|
Constructor Summary |
Marque.ColoredText(java.lang.String s)
Creates new ColoredText that is all black. |
Marque.ColoredText(java.lang.String[] strings,
java.awt.Color[] highlights)
Creates new ColoredText. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Marque.ColoredText
public Marque.ColoredText(java.lang.String s)
- Creates new ColoredText that is all black.
- Throws:
java.lang.NullPointerException - if s is null.
Marque.ColoredText
public Marque.ColoredText(java.lang.String[] strings,
java.awt.Color[] highlights)
- Creates new ColoredText.
- Throws:
java.lang.ArrayIndexOutOfBoundsException - if strings.length
is not equal highlights.length.
java.lang.NullPointerException - if either parameter is null.
getText
public java.lang.String[] getText()
getColors
public java.awt.Color[] getColors()
getLetters
public java.lang.String getLetters()
toString
public java.lang.String toString()
© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.