public class TableCellAttributes extends Object implements UIConstants
Modifier and Type | Field and Description |
---|---|
int |
alignment |
int |
anchor |
Color |
borderColor |
int |
borderStyle |
boolean |
clipCellData |
int |
col |
Object |
data
This is alternate non-textual data to display.
|
static int |
DISPLAY_OPTION_DONT_DISPLAY |
static int |
DISPLAY_OPTION_HIGHLIGHT_AS_ACCEPTING_DROP_DATA |
static int |
DISPLAY_OPTION_HIGHLIGHT_AS_REJECTING_DROP_DATA |
int |
displayOptions |
int |
drawImageOptions |
Brush |
fillBrush |
Color |
fillColor |
boolean |
flat |
FontMetrics |
fontMetrics |
Color |
foreground |
int |
hSpan
Setting hSpan to >1 will allow the data to spill over to the next cells.
|
boolean |
isSelected |
int |
row |
StringList |
text |
boolean |
tryFitText
If this is true, the TableModel will arrange the text to fit within the
bounds of the cell.
|
int |
vSpan
This is not used yet.
|
BDR_DOTTED, BDR_INNER, BDR_NOBORDER, BDR_OUTER, BDR_OUTLINE, BDR_RAISEDINNER, BDR_RAISEDOUTER, BDR_SUNKENINNER, BDR_SUNKENOUTER, BF_ABUT_ANY, BF_ABUT_BOTTOM, BF_ABUT_LEFT, BF_ABUT_RIGHT, BF_ABUT_TOP, BF_BOTTOM, BF_BOTTOMLEFT, BF_BOTTOMRIGHT, BF_BUTTON, BF_DIAGONAL, BF_DIAGONAL_ENDBOTTOMLEFT, BF_DIAGONAL_ENDBOTTOMRIGHT, BF_DIAGONAL_ENDTOPLEFT, BF_DIAGONAL_ENDTOPRIGHT, BF_EXACT, BF_FLAT, BF_LEFT, BF_MIDDLE, BF_MONO, BF_PALM, BF_RECT, BF_RIGHT, BF_SOFT, BF_SQUARE, BF_TOP, BF_TOPLEFT, BF_TOPRIGHT, EDGE_BUMP, EDGE_ETCHED, EDGE_RAISED, EDGE_SUNKEN
ALWAYS_STRETCHABLE, BOTTOM, CELLFLAG, CELLMASK, CENTER, CONTROLMASK, DONTCHANGE, DONTFILL, DONTSTRETCH, EAST, FILL, GROW, HCENTER, HCONTRACT, HEXPAND, HFILL, HGROW, HSHRINK, HSTRETCH, INITIALLY_CLOSED, INITIALLY_HIDDEN, INITIALLY_MINIMIZED, INITIALLY_PREFERRED_SIZE, INSETS, LEFT, MAXIMUMSIZE, MINIMUMSIZE, NORTH, NORTHEAST, NORTHWEST, PREFERREDSIZE, RECT, RIGHT, SHRINK, SOUTH, SOUTHEAST, SOUTHWEST, SPAN, STRETCH, TAG_BACKGROUND_IMAGE, TAG_BUSY_DISPLAY, TAG_COLORS, TAG_CONTROL_PAINTER, TAG_EXPOSE_GROUP, TAG_FIXEDSIZE, TAG_GRAY_BACKGROUND, TAG_HIDE_CONTROL_OBJECT, TAG_HIDE_PARENT, TAG_INNER_TEXT_INSETS, TAG_INPUT_STACK_PARENT, TAG_INSETS, TAG_MAKE_VISIBLE, TAG_MAXIMUMSIZE, TAG_MINIMUMSIZE, TAG_PAINT_CONTROL_LIST, TAG_PREFERRED_TEXT_SIZE, TAG_PREFERRED_TEXT_SIZE_HEIGHT, TAG_PREFERRED_TEXT_SIZE_WIDTH, TAG_PREFERREDSIZE, TAG_RECT, TAG_SHADOW_INSETS, TAG_SPAN, TAG_SWIPER, TAG_TEMPORARY_ERROR, TAG_TEXT_INSETS, TAG_TEXTSIZE, TEXTSIZE, TOP, VCENTER, VCONTRACT, VEXPAND, VFILL, VGROW, VSHRINK, VSTRETCH, WEST
All, AlwaysEnabled, AlwaysRecalculateSizes, ByDeferredMouse, ByDeferredPen, ByFrameChange, ByKeyboard, ByMouse, ByPen, ByRequest, CalculatedSizes, ContainerDontPaintChildren, Disabled, DisablePopupMenu, DisplayOnly, DontBuffer, Down, DrawFlat, Flag, ForceResize, HasData, Invisible, KeepImage, KeepSIP, Left, MakeMenuAtLeastAsWide, Maximize, Minimize, ModifiersInheritedFromWindow, MouseSensitive, NoFocus, NotAnEditor, NotEditable, PaintDataOnly, PaintOutsideOnly, PenTransparent, PreferredSizeOnly, Right, SendUpUIEvents, ShowSIP, ShrinkToNothing, SmallControl, TakeChildUIEvents, TakeControlEvents, TakesKeyFocus, Transparent, Up, WantDrag, WantHoldDown
Constructor and Description |
---|
TableCellAttributes() |
Modifier and Type | Method and Description |
---|---|
TableCellAttributes |
applyPaintParameters(PaintParameters pp) |
TableCellAttributes |
reset() |
public int row
public int col
public boolean isSelected
public int displayOptions
public static final int DISPLAY_OPTION_HIGHLIGHT_AS_ACCEPTING_DROP_DATA
public static final int DISPLAY_OPTION_HIGHLIGHT_AS_REJECTING_DROP_DATA
public static final int DISPLAY_OPTION_DONT_DISPLAY
public int borderStyle
public Color borderColor
public Color fillColor
public Color foreground
public boolean clipCellData
public Brush fillBrush
public int hSpan
public int vSpan
public boolean tryFitText
public Object data
public StringList text
public int alignment
public int anchor
public boolean flat
public FontMetrics fontMetrics
public int drawImageOptions
public TableCellAttributes reset()
public TableCellAttributes applyPaintParameters(PaintParameters pp)