|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<StyleTag.TagKeys>
cox.jmatt.java.MathTools.markup.svg.StyleTag.TagKeys
public static enum StyleTag.TagKeys
This enum is used internally by the SVG classes to store defaults and other such information.
Method Summary | |
---|---|
boolean |
canHaveDefs()
Can the tag have a 'defs' block or not? |
java.util.Hashtable<java.lang.String,java.lang.String> |
getAttributes()
Fetch the attributes stored, once. |
java.lang.String |
getContent()
Fetch the stored content String, once. |
java.lang.String |
getDefaultPen()
Get the default pen number. |
java.lang.String |
getDefaultStyle()
Get the default style. |
java.lang.String |
getDefaultTransforms()
Get the default transforms. |
java.lang.String |
getTagName()
Get the tag name to create the SVG tags. |
boolean |
isInDefs()
Does the tag belong in a 'defs' block ONLY? |
void |
setDefaultPen(int pPen)
Set the default pen number. |
void |
setDefaultStyle(StylePen pStyle)
Set the default style. |
void |
setDefaultTransforms(TransformPen pTransforms)
Set the default transforms. |
void |
setTemp(java.util.Hashtable<java.lang.String,java.lang.String> tAtts,
java.lang.String tContent)
Set the tag's content and attributes, if used for copying. |
static StyleTag.TagKeys |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static StyleTag.TagKeys[] |
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 StyleTag.TagKeys STYLE_TAG
public static final StyleTag.TagKeys CIRCLE_TAG
public static final StyleTag.TagKeys ELLIPSE_TAG
public static final StyleTag.TagKeys LINE_TAG
public static final StyleTag.TagKeys RECTANGLE_TAG
public static final StyleTag.TagKeys POLYGON_TAG
public static final StyleTag.TagKeys TEXT_TAG
public static final StyleTag.TagKeys TSPAN_TAG
public static final StyleTag.TagKeys USE_TAG
public static final StyleTag.TagKeys PATH_TAG
public static final StyleTag.TagKeys CLIP_TAG
public static final StyleTag.TagKeys MASK_TAG
public static final StyleTag.TagKeys MARKER_TAG
public static final StyleTag.TagKeys PATTERN_TAG
public static final StyleTag.TagKeys GROUP_TAG
public static final StyleTag.TagKeys SYMBOL_TAG
public static final StyleTag.TagKeys SVG_TAG
public static final StyleTag.TagKeys GRADIENT_TAG
Method Detail |
---|
public static StyleTag.TagKeys[] values()
for (StyleTag.TagKeys c : StyleTag.TagKeys.values()) System.out.println(c);
public static StyleTag.TagKeys 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 boolean canHaveDefs()
public boolean isInDefs()
public void setDefaultStyle(StylePen pStyle)
public java.lang.String getDefaultStyle()
public void setDefaultPen(int pPen)
public java.lang.String getDefaultPen()
public void setDefaultTransforms(TransformPen pTransforms)
public java.lang.String getDefaultTransforms()
public java.lang.String getTagName()
public void setTemp(java.util.Hashtable<java.lang.String,java.lang.String> tAtts, java.lang.String tContent)
public java.util.Hashtable<java.lang.String,java.lang.String> getAttributes()
public java.lang.String getContent()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |