talx x1.0.5

talx.view.components
Class Marque.ColoredText

java.lang.Object
  extended bytalx.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.
 
Method Summary
 java.awt.Color[] getColors()
           
 java.lang.String getLetters()
           
 java.lang.String[] getText()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

getText

public java.lang.String[] getText()

getColors

public java.awt.Color[] getColors()

getLetters

public java.lang.String getLetters()

toString

public java.lang.String toString()

talx x1.0.5

© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.