public interface TA_GridConfig
Configuration and utilities for a TA_Grid.
The interface provides four different items:
- basic types for grid characters that are either blank (none) or have a characteristic of: up, down, left, and/or right starting with TYPE_,
- rule types that define a rule to be either none (no rule), normal (standard character), or strong (strong or emphasized character) starting with RULETYPE,
- type/position combinations that define all possible grid border characters (starting with TYPEPOS)
- static methods that help to determine configurations
Only the rule types should be used outside the grid to tell the grid renderer (addGrid method) which rule type to use.
The create methods of the grid interface (should) provide all means to easily create a grid with all different character options.
| Modifier and Type | Field and Description |
|---|---|
static int |
CHAR_BOTTOM_RULE
A character in a bottom rule.
|
static int |
CHAR_CONTENT_RULE
A character in a content rule.
|
static int |
CHAR_MID_RULE
A character in a mid rule.
|
static int |
CHAR_TOP_RULE
A character in a top rule.
|
static int |
PT_BOTTOM_LEFT
Border position and type for a bottom-left border item, for instance
╚ . |
static int |
PT_BOTTOM_RIGHT
Border position and type for a bottom-right border item, for instance
╝ . |
static int |
PT_HORIZONTAL
Border position and type for a simple horizontal border item, for instance
═ . |
static int |
PT_MID_BOTH
Border position and type for a middle-up-down border item, for instance
╬ . |
static int |
PT_MID_DOWN
Border position and type for a middle-down border item, for instance
╦ . |
static int |
PT_MID_LEFT
Border position and type for a middle-left border item, for instance
╠ . |
static int |
PT_MID_RIGHT
Border position and type for a middle-right border item, for instance
╣ . |
static int |
PT_MID_UP
Border position and type for a middle-up border item, for instance
╩ . |
static int |
PT_TOP_LEFT
Border position and type for a top-left border item, for instance
╔ . |
static int |
PT_TOP_RIGHT
Border position and type for a top-right border item, for instance
╗ . |
static int |
PT_VERTICAL
Border position and type for a simple horizontal border item, for instance
║ . |
static int |
RULESET_HEAVY
Row type for a heavy character, that is a heavy border.
|
static int |
RULESET_LIGHT
Row type for a light character, that is a light border.
|
static int |
RULESET_NORMAL
Row type for a normal character, that is a normal border.
|
static int |
RULESET_STRONG
Row type for a strong character, that is a strong border.
|
static int |
TYPE_DOWN
Type for a border with bottom connector.
|
static int |
TYPE_LEFT
Type for a border with left connector.
|
static int |
TYPE_NONE
Type for an empty border.
|
static int |
TYPE_RIGHT
Type for a border with right connector.
|
static int |
TYPE_UP
Type for a border with top connector.
|
static final int TYPE_NONE
Type for an empty border.
static final int TYPE_UP
Type for a border with top connector.
static final int TYPE_DOWN
Type for a border with bottom connector.
static final int TYPE_LEFT
Type for a border with left connector.
static final int TYPE_RIGHT
Type for a border with right connector.
static final int CHAR_TOP_RULE
A character in a top rule.
static final int CHAR_MID_RULE
A character in a mid rule.
static final int CHAR_BOTTOM_RULE
A character in a bottom rule.
static final int CHAR_CONTENT_RULE
A character in a content rule.
static final int RULESET_NORMAL
Row type for a normal character, that is a normal border.
static final int RULESET_STRONG
Row type for a strong character, that is a strong border.
static final int RULESET_HEAVY
Row type for a heavy character, that is a heavy border.
static final int RULESET_LIGHT
Row type for a light character, that is a light border.
static final int PT_HORIZONTAL
Border position and type for a simple horizontal border item, for instance ═ .
static final int PT_VERTICAL
Border position and type for a simple horizontal border item, for instance ║ .
static final int PT_TOP_LEFT
Border position and type for a top-left border item, for instance ╔ .
static final int PT_TOP_RIGHT
Border position and type for a top-right border item, for instance ╗ .
static final int PT_BOTTOM_LEFT
Border position and type for a bottom-left border item, for instance ╚ .
static final int PT_BOTTOM_RIGHT
Border position and type for a bottom-right border item, for instance ╝ .
static final int PT_MID_LEFT
Border position and type for a middle-left border item, for instance ╠ .
static final int PT_MID_RIGHT
Border position and type for a middle-right border item, for instance ╣ .
static final int PT_MID_BOTH
Border position and type for a middle-up-down border item, for instance ╬ .
static final int PT_MID_DOWN
Border position and type for a middle-down border item, for instance ╦ .
static final int PT_MID_UP
Border position and type for a middle-up border item, for instance ╩ .
Copyright © 2016–2017. All rights reserved.