|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.java2html.options.JavaSourceStyleTable
public class JavaSourceStyleTable
Table containing style options (
JavaSourceStyleEntry) for different types of
source code (JavaSourceType).
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
JavaSourceStyleEntry |
get(JavaSourceType key)
Returns the style for the given source type defined by this styletable. |
JavaSourceStyleEntry |
get(java.lang.String key)
Deprecated. As of Sep 12, 2004 (Markus Gebhard), replaced by get(JavaSourceType) |
JavaSourceStyleTable |
getClone()
|
static JavaSourceStyleTable |
getDefault()
Gets a default style table. |
static JavaSourceStyleTable |
getDefaultEclipseStyleTable()
Gets a style table similar to the one from the IBM Eclipse IDE. |
static JavaSourceStyleTable |
getDefaultKawaStyleTable()
Gets a style table similar to the one from the Kawa IDE. |
static JavaSourceStyleTable |
getDefaultMonochromeStyleTable()
Gets a style table for monochromatic output. |
java.lang.String |
getName()
|
static JavaSourceStyleTable |
getPredefinedTable(java.lang.String name)
Returns the style table with the given name or null if
there is none having the give name. |
static JavaSourceStyleTable[] |
getPredefinedTables()
|
void |
put(JavaSourceType key,
JavaSourceStyleEntry javaSourceStyleEntry)
Sets the style for the given source type to the given style. |
void |
put(java.lang.String key,
JavaSourceStyleEntry javaSourceStyleEntry)
|
void |
setName(java.lang.String name)
Deprecated. As of Jan 2, 2004 (Markus Gebhard): Changing the name of a style table is not intended |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic JavaSourceStyleTable getClone()
public static JavaSourceStyleTable[] getPredefinedTables()
public static JavaSourceStyleTable getPredefinedTable(java.lang.String name)
null if
there is none having the give name.
java.lang.IllegalArgumentException - if the name is null.
public void put(JavaSourceType key,
JavaSourceStyleEntry javaSourceStyleEntry)
get(JavaSourceType)
public void put(java.lang.String key,
JavaSourceStyleEntry javaSourceStyleEntry)
public static JavaSourceStyleTable getDefault()
getDefaultEclipseStyleTable(),
getDefaultKawaStyleTable()public static JavaSourceStyleTable getDefaultKawaStyleTable()
getDefault(),
getDefaultEclipseStyleTable(),
getDefaultMonochromeStyleTable()public static JavaSourceStyleTable getDefaultEclipseStyleTable()
getDefault(),
getDefaultKawaStyleTable(),
getDefaultMonochromeStyleTable()public static JavaSourceStyleTable getDefaultMonochromeStyleTable()
getDefault(),
getDefaultEclipseStyleTable(),
getDefaultKawaStyleTable()public JavaSourceStyleEntry get(JavaSourceType key)
put(JavaSourceType, JavaSourceStyleEntry),
put(JavaSourceType, JavaSourceStyleEntry)public JavaSourceStyleEntry get(java.lang.String key)
get(JavaSourceType)
public java.lang.String getName()
public void setName(java.lang.String name)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||