|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<BaseHTag.TagKeys>
cox.jmatt.java.MathTools.markup.html.BaseHTag.TagKeys
public static enum BaseHTag.TagKeys
This enum
holds information and default values for the various tag classes, all of which subclass BaseHTag
.
Enum Constant Summary | |
---|---|
A_TAG
|
|
B_TAG
|
|
BQ_TAG
|
|
DD_TAG
|
|
DIV_TAG
|
|
DL_TAG
|
|
DT_TAG
|
|
EM_TAG
|
|
GLOBAL
This is not an HTML tag, it is used to set values for all enum constants that are. |
|
Hn_TAG
|
|
HR_TAG
|
|
HTML_TAG
|
|
I_TAG
|
|
IMG_TAG
|
|
LI_TAG
|
|
OL_TAG
|
|
P_TAG
|
|
SPAN_TAG
|
|
TABLE_TAG
|
|
TD_TAG
|
|
TR_TAG
|
|
U_TAG
|
|
UL_TAG
|
Method Summary | |
---|---|
java.util.Hashtable<java.lang.String,java.lang.String> |
getCopyAttributes()
Retrieve the attributes stored for copying, once. |
java.lang.String |
getCopyContent()
Retrieve the body content stored for copying. |
java.lang.String |
getDefaultClick()
Retrieve the default value of the 'onclick=' attribute. |
java.lang.String |
getDefaultCSS()
Retrieve the default value of the CSS class attribute. |
java.lang.String |
getDefaultName()
Retrieve the default value of the 'name=' attribute. |
java.lang.String |
getDefaultStyle()
Retrieve the default value of the CSS style attribute. |
java.lang.String |
getName()
The name of the tag as it will appear in the markup. |
boolean |
isInBody()
Is this tag in the <body> or the <head> of the document? |
void |
setDefaultClick(java.lang.String pStr)
Set the default value of the 'onclick=' attribute for this tag. |
void |
setDefaultCSS(java.lang.String pStr)
Set the default CSS class attribute for this tag. |
void |
setDefaultName(java.lang.String pStr)
Set the default value of the 'name=' attribute for this tag. |
void |
setDefaultStyle(java.lang.String pStr)
Set the default CSS style attribute for this tag. |
void |
storeCopyData(java.util.Hashtable<java.lang.String,java.lang.String> pAtts,
java.lang.String pContent)
Store tag attributes and content for copying. |
static BaseHTag.TagKeys |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BaseHTag.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 BaseHTag.TagKeys GLOBAL
public static final BaseHTag.TagKeys EM_TAG
public static final BaseHTag.TagKeys B_TAG
public static final BaseHTag.TagKeys I_TAG
public static final BaseHTag.TagKeys U_TAG
public static final BaseHTag.TagKeys A_TAG
public static final BaseHTag.TagKeys BQ_TAG
public static final BaseHTag.TagKeys SPAN_TAG
public static final BaseHTag.TagKeys IMG_TAG
public static final BaseHTag.TagKeys LI_TAG
public static final BaseHTag.TagKeys DD_TAG
public static final BaseHTag.TagKeys DT_TAG
public static final BaseHTag.TagKeys TD_TAG
public static final BaseHTag.TagKeys OL_TAG
public static final BaseHTag.TagKeys UL_TAG
public static final BaseHTag.TagKeys DL_TAG
public static final BaseHTag.TagKeys TR_TAG
public static final BaseHTag.TagKeys TABLE_TAG
public static final BaseHTag.TagKeys HTML_TAG
public static final BaseHTag.TagKeys DIV_TAG
public static final BaseHTag.TagKeys P_TAG
public static final BaseHTag.TagKeys Hn_TAG
public static final BaseHTag.TagKeys HR_TAG
Method Detail |
---|
public static BaseHTag.TagKeys[] values()
for (BaseHTag.TagKeys c : BaseHTag.TagKeys.values()) System.out.println(c);
public static BaseHTag.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 java.lang.String getName()
public boolean isInBody()
public void storeCopyData(java.util.Hashtable<java.lang.String,java.lang.String> pAtts, java.lang.String pContent)
public java.util.Hashtable<java.lang.String,java.lang.String> getCopyAttributes()
public java.lang.String getCopyContent()
public void setDefaultName(java.lang.String pStr)
public java.lang.String getDefaultName()
public void setDefaultCSS(java.lang.String pStr)
public java.lang.String getDefaultCSS()
public void setDefaultStyle(java.lang.String pStr)
public java.lang.String getDefaultStyle()
public void setDefaultClick(java.lang.String pStr)
public java.lang.String getDefaultClick()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |