|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<IText.TextSize>
net.sf.latexdraw.glib.models.interfaces.IText.TextSize
public static enum IText.TextSize
This enumeration defines the concept of text size for latex texts.
Enum Constant Summary | |
---|---|
FOOTNOTE
\footnotesize size |
|
HUGE1
\huge size |
|
HUGE2
\Huge size |
|
LARGE1
\large size |
|
LARGE2
\Large size |
|
LARGE3
\LARGE size |
|
NORMAL
\small size |
|
SCRIPT
\scriptsize size |
|
SMALL
\small size |
|
TINY
\tiny size |
Method Summary | |
---|---|
abstract java.lang.String |
getLatexToken()
|
static IText.TextSize |
getTextSizeFromSize(int size)
|
static IText.TextSize |
getTextSizeFromToken(java.lang.String token)
|
static IText.TextSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IText.TextSize[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IText.TextSize TINY
public static final IText.TextSize SCRIPT
public static final IText.TextSize FOOTNOTE
public static final IText.TextSize SMALL
public static final IText.TextSize NORMAL
public static final IText.TextSize LARGE1
public static final IText.TextSize LARGE2
public static final IText.TextSize LARGE3
public static final IText.TextSize HUGE1
public static final IText.TextSize HUGE2
Method Detail |
---|
public static IText.TextSize[] values()
for (IText.TextSize c : IText.TextSize.values()) System.out.println(c);
public static IText.TextSize valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic abstract java.lang.String getLatexToken()
public static IText.TextSize getTextSizeFromToken(java.lang.String token)
token
- The token to analyse.
public static IText.TextSize getTextSizeFromSize(int size)
size
- The text size value to analyse.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |