|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jagacy.ui.FeatureHelper
Determines the attributes of a feature.
Field Summary | |
static short |
BLINK_MARK
|
static short |
BOLD_MARK
|
static short |
COLOR_BLACK
|
static short |
COLOR_BLUE
|
static short |
COLOR_BOLD
|
static short |
COLOR_CYAN
|
static short |
COLOR_DARK_GRAY
|
static short |
COLOR_DEFAULT
|
static short |
COLOR_GREEN
|
static short |
COLOR_LIGHT_GRAY
|
static short |
COLOR_MAGENTA
|
static short |
COLOR_ORANGE
|
static short |
COLOR_PINK
|
static short |
COLOR_RED
|
static short |
COLOR_TURQUOISE
|
static short |
COLOR_WHITE
|
static short |
COLOR_YELLOW
|
static short |
DETECTABLE_MARK
|
static short |
FEATURE
|
static short |
FEATURE_MASK
|
static short |
HIDDEN_MASK
|
static short |
MODIFIED
|
static short |
NUMERIC_MARK
|
static short |
PROTECTED
|
static short |
REVERSE_MARK
|
static short |
UNDERLINE_MARK
|
Constructor Summary | |
protected |
FeatureHelper()
Creates a FeatureHelper. |
Method Summary | |
static short |
getBackground(short feature)
Returns the background of the feature. |
static short |
getForeground(short feature)
Returns the foreground of the feature. |
static boolean |
isBlink(short feature)
Tests if location is blinking. |
static boolean |
isBold(short feature)
Tests if location is bolded. |
static boolean |
isFeature(short feature)
Tests if location has a feature. |
static boolean |
isHidden(short feature)
Tests if location is hidden. |
static boolean |
isModified(short feature)
Tests if location is modified. |
static boolean |
isNumeric(short feature)
Tests if location is numeric. |
static boolean |
isProtected(short feature)
Tests if location is protected. |
static boolean |
isReverse(short feature)
Tests if location is reversed. |
static boolean |
isUnderline(short feature)
Tests if location is underlined. |
static short |
setBackground(short feature,
short color)
Sets the background of the feature. |
static short |
setForeground(short feature,
short color)
Sets the foreground of the feature. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final short MODIFIED
public static final short PROTECTED
public static final short FEATURE
public static final short FEATURE_MASK
public static final short DETECTABLE_MARK
public static final short NUMERIC_MARK
public static final short BOLD_MARK
public static final short UNDERLINE_MARK
public static final short BLINK_MARK
public static final short REVERSE_MARK
public static final short HIDDEN_MASK
public static final short COLOR_BLACK
public static final short COLOR_RED
public static final short COLOR_GREEN
public static final short COLOR_YELLOW
public static final short COLOR_BLUE
public static final short COLOR_MAGENTA
public static final short COLOR_CYAN
public static final short COLOR_WHITE
public static final short COLOR_TURQUOISE
public static final short COLOR_PINK
public static final short COLOR_ORANGE
public static final short COLOR_LIGHT_GRAY
public static final short COLOR_DARK_GRAY
public static final short COLOR_BOLD
public static final short COLOR_DEFAULT
Constructor Detail |
protected FeatureHelper()
Method Detail |
public static boolean isModified(short feature)
feature
- Location feature.
public static boolean isProtected(short feature)
feature
- Location feature.
public static boolean isHidden(short feature)
feature
- Location feature.
public static boolean isReverse(short feature)
feature
- Location feature.
public static boolean isBlink(short feature)
feature
- Location feature.
public static boolean isBold(short feature)
feature
- Location feature.
public static boolean isUnderline(short feature)
feature
- Location feature.
public static boolean isNumeric(short feature)
feature
- Location feature.
public static boolean isFeature(short feature)
feature
- Location feature.
public static short getForeground(short feature)
feature
- The feature.
public static short getBackground(short feature)
feature
- The feature.
public static short setForeground(short feature, short color)
feature
- The feature.color
- The foreground color.
public static short setBackground(short feature, short color)
feature
- The feature.color
- The background color.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |