File tag/Cell


class tag.Cell

Inherits

State supers
tag, tom.Copying

variables

const CF_STATE = 1;
Meaning of the bits in the 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;

instance tag.Cell

variables

tom.String contents;
The textual contents, or the contents' textual representation.
_builtin_.Any info;
The image if we hold an image; the Font if we hold text.
public mutable boolean state;
This cell's state.
public mutable boolean highlighted;
This cell's highlighting.
boolean is_image;
Iff TRUE, we're an image cell. Otherwise, we're a text cell.
public mutable boolean bordered;
Iff TRUE, we're bordered.
public mutable boolean bezeled;
Iff TRUE, we're bezeled.
public mutable boolean enabled;
Iff TRUE, we're enabled. Otherwise we ignore mouse buttons.

methods

id
  initTextCell tom.String title
pre
  system_display != nil;
Undocumented.

(float, float)
  cellSize;
Return the minimum acceptable size for this cell.

Image
  image;
Undocumented.

void
  set_image Image image
pre
  image != nil;
Undocumented.

void
  setDoubleValue double value;

Values

double
  doubleValue;
Undocumented.

void
  setStringValue tom.String value;
Undocumented.

tom.String
  stringValue;
Undocumented.

boolean
  mouseDown MouseEvent e
     inRect (float, float, float, float) (x, y, w, h)
     ofView View v;

Event handling

void
  mouseDragged MouseEvent e
            in View v;
Undocumented.

void
  mouseUp MouseEvent e
       in Control v;
Undocumented.

void
  drawInside (float, float, float, float) (x, y, w, h)
      inView View view;

Drawing

void
  drawSelf (float, float, float, float) (x, y, w, h)
    inView View view;
Undocumented.

void
  encodeUsingCoder tom.Encoder coder;

Archiving

void
  initWithCoder tom.Decoder coder;
Undocumented.


Generated by tm 1.01.