|
sharkysoft.com | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sharkysoft.util.EnumeratedType
com.sharkysoft.printf.engine.CroppingMode
Text cropping styles.
Details: CroppingMode
is an enumeration of text
cropping modes. Cropping occurs when text larger than the field in which it
is displayed.
Field Summary | |
static CroppingMode |
gpLeft
Left cropping. |
static CroppingMode |
gpMiddle
Middle cropping. |
static CroppingMode |
gpNone
No cropping. |
static CroppingMode |
gpRight
Right cropping. |
static int |
LEFT
Left cropping. |
static int |
MIDDLE
Middle cropping. |
static int |
NONE
No cropping. |
static int |
RIGHT
Right cropping. |
Method Summary | |
static CroppingMode |
forInt(int inValue)
Converts int value to object value. |
Methods inherited from class com.sharkysoft.util.EnumeratedType |
compareTo, toEnumeratedType, toInt, toString, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int NONE
Details: NONE
indicates the text is not cropped.
public static final CroppingMode gpNone
Details: gpNone
is a type-NONE
.
public static final int RIGHT
Details: RIGHT
indicates that the right-
public static final CroppingMode gpRight
Details: gpRight
is a type-RIGHT
.
public static final int LEFT
Details: LEFT
indicates that the left-
public static final CroppingMode gpLeft
Details: gpLeft
is a type-LEFT
.
public static final int MIDDLE
Details: MIDDLE
indicates that a center portion of
the text may be cropped (and perhaps replaced with ellipses).
public static final CroppingMode gpMiddle
Details: gpMiddle
is a type-MIDDLE
.
Method Detail |
public static CroppingMode forInt(int inValue)
Details: forInt
returns the type-int
value.
inValue
- int value
|
sharkysoft.com | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997-2004 Sharkysoft (sharkysoft.com). All rights reserved.