|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.java2html.options.JavaSourceStyleTable
public class JavaSourceStyleTable
Table containing style options (
JavaSourceStyleEntry
) for different types of
source code (SourceType
).
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
JavaSourceStyleEntry |
get(SourceType 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(SourceType) |
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(SourceType 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 |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public 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(SourceType key, JavaSourceStyleEntry javaSourceStyleEntry)
get(SourceType)
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(SourceType key)
put(SourceType, JavaSourceStyleEntry)
,
put(SourceType, JavaSourceStyleEntry)
@Deprecated public JavaSourceStyleEntry get(java.lang.String key)
get(SourceType)
public java.lang.String getName()
@Deprecated public void setName(java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |