Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

String - to be represented by text
- Color - to be represented by background colour
- Icon - to be represented as an icon image
- char - to be represented as a symbol
- face - a flag to say whether the face is bold(true) or plain(false)

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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD