public interface TA_FrameOptions
Options and utilities for a TA_Frame.
| Modifier and Type | Field and Description |
|---|---|
static int |
OPT_BORDER_LEFT
Option for using the left border of the frame.
|
static int |
OPT_BORDER_RIGHT
Option for using the right border of the frame.
|
static int |
OPT_CORNER_BOTTOMLEFT
Option for using the bottom left corner of the frame.
|
static int |
OPT_CORNER_BOTTOMRIGHT
Option for using the bottom right corner of the frame.
|
static int |
OPT_CORNER_TOPLEFT
Option for using the top left corner of the frame.
|
static int |
OPT_CORNER_TOPRIGHT
Option for using the top right corner of the frame.
|
static int |
OPT_LINE_BOTTOM
Option for using the bottom line of the frame.
|
static int |
OPT_LINE_TOP
Option for using the top line of the frame.
|
static int |
OPT_SHOW_EMPTY_ROWS
Option for showing empty horizontal rows.
|
static int |
THEME_BORDERS_ONLY
Theme for using only left and right borders.
|
static int |
THEME_CORNERS_ONLY
Theme for using only corners.
|
static int |
THEME_FULL_FRAME
Theme for using the full frame.
|
static int |
THEME_LEFT_ONLY
Theme for using only left side.
|
static int |
THEME_LINE_TOPBOTTOM
Theme for using only top and bottom lines.
|
static int |
THEME_LINES_ONLY
Theme for using only top/bottom lines and left/right borders, that is no corners.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
borderLeft(int mode)
Tests if the left border is requested.
|
static boolean |
borderLeftNeeded(int mode)
Tests if the left border is needed.
|
static boolean |
borderRight(int mode)
Tests if the right border is requested.
|
static boolean |
borderRightNeeded(int mode)
Tests if the right border is needed.
|
static boolean |
cornerBottomLeft(int mode)
Tests if the bottom left corner is requested.
|
static boolean |
cornerBottomLeftNeeded(int mode)
Tests if the bottom left corner is needed.
|
static boolean |
cornerBottomRight(int mode)
Tests if the bottom right corner is requested.
|
static boolean |
cornerBottomRightNeeded(int mode)
Tests if the bottom right corner is needed.
|
static boolean |
cornerTopLeft(int mode)
Tests if the top left corner is requested.
|
static boolean |
cornerTopLeftNeeded(int mode)
Tests if the top left corner is needed.
|
static boolean |
cornerTopRight(int mode)
Tests if the top right corner is requested.
|
static boolean |
cornerTopRightNeeded(int mode)
Tests if the top right corner is needed.
|
static boolean |
lineBottom(int mode)
Tests if the bottom line is requested.
|
static boolean |
lineBottomNeeded(int mode)
Tests if a bottom line is needed because one or both corners are required.
|
static boolean |
lineTop(int mode)
Tests if the top line is requested.
|
static boolean |
lineTopNeeded(int mode)
Tests if a top line is needed because one or both corners are required.
|
static boolean |
showEmptyRows(int mode)
Tests if empty rows should be shown using an empty character.
|
static boolean |
someBottomCharacters(int mode)
Test for some characters required in the bottom line of a frame.
|
static boolean |
someTopCharacters(int mode)
Test for some characters required in the top line of a frame.
|
static final int OPT_LINE_TOP
Option for using the top line of the frame.
static final int OPT_LINE_BOTTOM
Option for using the bottom line of the frame.
static final int OPT_BORDER_LEFT
Option for using the left border of the frame.
static final int OPT_BORDER_RIGHT
Option for using the right border of the frame.
static final int OPT_CORNER_TOPLEFT
Option for using the top left corner of the frame.
static final int OPT_CORNER_TOPRIGHT
Option for using the top right corner of the frame.
static final int OPT_CORNER_BOTTOMLEFT
Option for using the bottom left corner of the frame.
static final int OPT_CORNER_BOTTOMRIGHT
Option for using the bottom right corner of the frame.
static final int OPT_SHOW_EMPTY_ROWS
Option for showing empty horizontal rows.
static final int THEME_FULL_FRAME
Theme for using the full frame.
static final int THEME_LINE_TOPBOTTOM
Theme for using only top and bottom lines.
static final int THEME_LEFT_ONLY
Theme for using only left side.
static final int THEME_BORDERS_ONLY
Theme for using only left and right borders.
static final int THEME_LINES_ONLY
Theme for using only top/bottom lines and left/right borders, that is no corners.
static final int THEME_CORNERS_ONLY
Theme for using only corners.
static boolean someTopCharacters(int mode)
Test for some characters required in the top line of a frame.
mode - the mode to test againststatic boolean someBottomCharacters(int mode)
Test for some characters required in the bottom line of a frame.
mode - the mode to test againststatic boolean cornerTopLeft(int mode)
Tests if the top left corner is requested.
mode - the mode to test againststatic boolean cornerBottomLeft(int mode)
Tests if the bottom left corner is requested.
mode - the mode to test againststatic boolean cornerTopLeftNeeded(int mode)
Tests if the top left corner is needed.
mode - the mode to test againststatic boolean cornerBottomLeftNeeded(int mode)
Tests if the bottom left corner is needed.
mode - the mode to test againststatic boolean lineTop(int mode)
Tests if the top line is requested.
mode - the mode to test againststatic boolean lineTopNeeded(int mode)
Tests if a top line is needed because one or both corners are required.
mode - the mode to test againststatic boolean lineBottom(int mode)
Tests if the bottom line is requested.
mode - the mode to test againststatic boolean lineBottomNeeded(int mode)
Tests if a bottom line is needed because one or both corners are required.
mode - the mode to test againststatic boolean cornerTopRight(int mode)
Tests if the top right corner is requested.
mode - the mode to test againststatic boolean cornerBottomRight(int mode)
Tests if the bottom right corner is requested.
mode - the mode to test againststatic boolean cornerTopRightNeeded(int mode)
Tests if the top right corner is needed.
mode - the mode to test againststatic boolean cornerBottomRightNeeded(int mode)
Tests if the bottom right corner is needed.
mode - the mode to test againststatic boolean borderLeft(int mode)
Tests if the left border is requested.
mode - the mode to test againststatic boolean borderRight(int mode)
Tests if the right border is requested.
mode - the mode to test againststatic boolean borderLeftNeeded(int mode)
Tests if the left border is needed.
mode - the mode to test againststatic boolean borderRightNeeded(int mode)
Tests if the right border is needed.
mode - the mode to test againststatic boolean showEmptyRows(int mode)
Tests if empty rows should be shown using an empty character.
mode - the mode to test againstCopyright © 2016–2017. All rights reserved.