com.azalient.api.b.display
Interface IColour

All Superinterfaces:
IRecord, RecordR, RecordRW, RecordW, SortableData, StoreRecordRW

public interface IColour
extends StoreRecordRW

A generic interface to one of the named colour objects defined in Commuter.

Each colour in Commuter has a name


Field Summary
 
Fields inherited from interface com.azalient.api.a.tables.IRecord
DELETED, KEY_SEP, KEY_SEP_CHAR
 
Method Summary
 Color color()
          The colour encoded as a standard java object
 int rgb()
          Returns the colour encoded as a 32-bit ARGB integer.
 
Methods inherited from interface com.azalient.api.file.StoreRecordRW
canRename, rename, store
 
Methods inherited from interface com.azalient.api.file.RecordR
extraSet, finished, isApplicable, isEditable, set
 
Methods inherited from interface com.azalient.api.a.tables.IRecord
name
 
Methods inherited from interface com.azalient.api.file.RecordW
extraCols, extraGet, extraGetB, extraGetD, extraGetI, extraGetS, extraGetT, get, isVolatile
 

Method Detail

color

Color color()
The colour encoded as a standard java object


rgb

int rgb()
Returns the colour encoded as a 32-bit ARGB integer. Despite the name, the transparency, or alpha channel is also included in this value