ix.iface.ui
Interface FourField

All Known Implementing Classes:
DefaultColourField, EditableColourField

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 hasFont()
           
 boolean hasIcon()
           
 boolean hasSymbol()
           
 java.awt.Color toColour()
           
 int toFont()
           
 javax.swing.Icon toIcon()
           
 java.lang.String toString()
           
 java.lang.Character toSymbol()
           
 

Method Detail

toString

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

toColour

java.awt.Color toColour()

toIcon

javax.swing.Icon toIcon()

toFont

int toFont()

toSymbol

java.lang.Character toSymbol()

hasColour

boolean hasColour()

hasIcon

boolean hasIcon()

hasSymbol

boolean hasSymbol()

hasFont

boolean hasFont()