de.java2html.options
Class JavaSourceConversionOptions
java.lang.Object
de.java2html.options.JavaSourceConversionOptions
public class JavaSourceConversionOptions
- extends java.lang.Object
Conversion options for customizing the output result. You can adjust the
output style of a AbstractJavaSourceConverter
by
changing the attributes of this object. The color and font style are defined
by the JavaSourceStyleTable
associated with
this options.
- Author:
- Markus Gebhard
Copyright (C) Markus Gebhard 2000-2003
This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- See Also:
setStyleTable(JavaSourceStyleTable)
,
getStyleTable()
,
AbstractJavaSourceConverter
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CHARSET
public static final java.lang.String DEFAULT_CHARSET
- See Also:
- Constant Field Values
TAB_SIZE
@Deprecated
public static final java.lang.String TAB_SIZE
- Deprecated. As of Dec 21, 2003 (Markus Gebhard), replaced by
IConversionOptionsConstants.TAB_SIZE
- See Also:
- Constant Field Values
SHOW_LINE_NUMBERS
@Deprecated
public static final java.lang.String SHOW_LINE_NUMBERS
- Deprecated. As of Dec 21, 2003 (Markus Gebhard), replaced by
IConversionOptionsConstants.SHOW_LINE_NUMBERS
- See Also:
- Constant Field Values
SHOW_FILE_NAME
@Deprecated
public static final java.lang.String SHOW_FILE_NAME
- Deprecated. As of Dec 21, 2003 (Markus Gebhard), replaced by
IConversionOptionsConstants.SHOW_FILE_NAME
- See Also:
- Constant Field Values
SHOW_TABLE_BORDER
@Deprecated
public static final java.lang.String SHOW_TABLE_BORDER
- Deprecated. As of Dec 21, 2003 (Markus Gebhard), replaced by
IConversionOptionsConstants.SHOW_TABLE_BORDER
- See Also:
- Constant Field Values
getRawDefault
public static JavaSourceConversionOptions getRawDefault()
getDefault
public static JavaSourceConversionOptions getDefault()
throws IllegalConfigurationException
- Throws:
IllegalConfigurationException
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getClone
public JavaSourceConversionOptions getClone()
setStyleTable
public void setStyleTable(JavaSourceStyleTable styleTable)
getStyleTable
public JavaSourceStyleTable getStyleTable()
getTabSize
public int getTabSize()
setTabSize
public void setTabSize(int tabSize)
isShowLineNumbers
public boolean isShowLineNumbers()
setShowLineNumbers
public void setShowLineNumbers(boolean showLineNumbers)
isShowFileName
public boolean isShowFileName()
isShowTableBorder
public boolean isShowTableBorder()
setShowFileName
public void setShowFileName(boolean showFileName)
setShowTableBorder
public void setShowTableBorder(boolean showTableBorder)
isAddLineAnchors
public boolean isAddLineAnchors()
getLineAnchorPrefix
public java.lang.String getLineAnchorPrefix()
setAddLineAnchors
public void setAddLineAnchors(boolean addLineAnchors)
setLineAnchorPrefix
public void setLineAnchorPrefix(java.lang.String lineAnchorPrefix)
getHorizontalAlignment
public HorizontalAlignment getHorizontalAlignment()
setHorizontalAlignment
public void setHorizontalAlignment(HorizontalAlignment horizontalAlignment)
isShowJava2HtmlLink
public boolean isShowJava2HtmlLink()
setShowJava2HtmlLink
public void setShowJava2HtmlLink(boolean isShowJava2HtmlLink)
setCharset
public void setCharset(java.lang.String charset)
getCharset
public java.lang.String getCharset()
Copyright © 2003 - 2006