const CF_STATE = 1;
flags
of a Cell
.
const CF_HIGHLIGHTED = 2;
const CF_DISABLED = 4;
const CF_TYPE = 8;
const CF_SELECTABLE = 16;
const CF_EDITABLE = 32;
const CF_ALIGN_LEFT = 64;
const CF_ALIGN_RIGHT = 128;
const CF_ALIGN_FULL = 192;
const CF_BORDER_MASK = 0;
tom.String contents;
_builtin_.Any info;
Font
if we hold text.
public mutable boolean state;
public mutable boolean highlighted;
boolean is_image;
TRUE
, we're an image cell. Otherwise, we're a text cell.
public mutable boolean bordered;
TRUE
, we're bordered.
public mutable boolean bezeled;
TRUE
, we're bezeled.
public mutable boolean enabled;
TRUE
, we're enabled. Otherwise we ignore mouse buttons.
id initTextCell tom.String title pre system_display != nil;
(float, float) cellSize;
Image image;
void set_image Image image pre image != nil;
void setDoubleValue double value;
double doubleValue;
void setStringValue tom.String value;
tom.String stringValue;
boolean mouseDown MouseEvent e inRect (float, float, float, float) (x, y, w, h) ofView View v;
void mouseDragged MouseEvent e in View v;
void mouseUp MouseEvent e in Control v;
void drawInside (float, float, float, float) (x, y, w, h) inView View view;
void drawSelf (float, float, float, float) (x, y, w, h) inView View view;
void encodeUsingCoder tom.Encoder coder;
void initWithCoder tom.Decoder coder;