ix.iface.ui
Interface FourField

All Known Implementing Classes:
DefaultColourField

public interface FourField

An interface with four aspects: string, colour, symbol, image. The four aspects can be displayed as one cell. They are of type

Not all of the fields have to be set. Only the text is required (if there is none, make toString return the empty string). Renderers should be able to display what is set and determine how many dimensions are needed.


Method Summary
 boolean hasColour()
           
 boolean hasIcon()
           
 boolean hasSymbol()
           
 java.awt.Color toColour()
           
 javax.swing.Icon toIcon()
           
 java.lang.String toString()
           
 java.lang.Character toSymbol()
           
 

Method Detail

toString

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

toColour

public java.awt.Color toColour()

toIcon

public javax.swing.Icon toIcon()

toSymbol

public java.lang.Character toSymbol()

hasColour

public boolean hasColour()

hasIcon

public boolean hasIcon()

hasSymbol

public boolean hasSymbol()