Package adams.core.base
Class XSLTStyleSheet
- java.lang.Object
-
- adams.core.base.BaseObject
-
- adams.core.base.AbstractBaseString
-
- adams.gui.core.AbstractAdvancedScript
-
- adams.core.base.XSLTStyleSheet
-
- All Implemented Interfaces:
CloneHandler<BaseObject>,HelpProvider,Serializable,Comparable
public class XSLTStyleSheet extends AbstractAdvancedScript implements HelpProvider
Encapsulates an XSLT Stylesheet.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.core.base.BaseObject
m_Internal, m_Properties, SUFFIX_DISPLAY, SUFFIX_VALUE
-
-
Constructor Summary
Constructors Constructor Description XSLTStyleSheet()Initializes the string with length 0.XSLTStyleSheet(String s)Initializes the object with the string to parse.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallowsInlineEditing()Returns whether inline editing in the GOE is allowed.StringgetHelpDescription()Returns a long help description, e.g., used in tiptexts.StringgetHelpIcon()Returns the name of a help icon, e.g., used for buttons.StringgetHelpTitle()Returns a short title for the help, e.g., used for buttons.StringgetHelpURL()Returns a URL with additional information.protected StringgetScriptTipText()Returns the tip text for the script.AbstractTextAreaPanelWithAdvancedSyntaxHighlightinggetTextAreaPanel()Returns the configured text editor panel to use in the GOE.StringgetTipText()Returns a tool tip for the GUI editor (ignored if null is returned).-
Methods inherited from class adams.gui.core.AbstractAdvancedScript
stringValue
-
Methods inherited from class adams.core.base.AbstractBaseString
convert, getValue, initialize, isEmpty, isValid, length, setValue
-
Methods inherited from class adams.core.base.BaseObject
compareTo, equals, getClone, getInternal, getTemplates, getUnicode, hasFavoritesSupport, hashCode, isValidUnicode, newInstance, setUnicode, toObjectArray, toObjectArray, toString, toStringArray, toStringList
-
-
-
-
Constructor Detail
-
XSLTStyleSheet
public XSLTStyleSheet()
Initializes the string with length 0.
-
XSLTStyleSheet
public XSLTStyleSheet(String s)
Initializes the object with the string to parse.- Parameters:
s- the string to parse
-
-
Method Detail
-
getTipText
public String getTipText()
Returns a tool tip for the GUI editor (ignored if null is returned).- Overrides:
getTipTextin classAbstractAdvancedScript- Returns:
- the tool tip
-
getHelpURL
public String getHelpURL()
Returns a URL with additional information.- Specified by:
getHelpURLin interfaceHelpProvider- Returns:
- the URL, null if not available
-
getHelpDescription
public String getHelpDescription()
Returns a long help description, e.g., used in tiptexts.- Specified by:
getHelpDescriptionin interfaceHelpProvider- Returns:
- the help text, null if not available
-
getHelpTitle
public String getHelpTitle()
Returns a short title for the help, e.g., used for buttons.- Specified by:
getHelpTitlein interfaceHelpProvider- Returns:
- the short title, null if not available
-
getHelpIcon
public String getHelpIcon()
Returns the name of a help icon, e.g., used for buttons.- Specified by:
getHelpIconin interfaceHelpProvider- Returns:
- the icon name, null if not available
-
getScriptTipText
protected String getScriptTipText()
Returns the tip text for the script.- Specified by:
getScriptTipTextin classAbstractAdvancedScript- Returns:
- the tool tip
-
getTextAreaPanel
public AbstractTextAreaPanelWithAdvancedSyntaxHighlighting getTextAreaPanel()
Returns the configured text editor panel to use in the GOE.- Specified by:
getTextAreaPanelin classAbstractAdvancedScript- Returns:
- the text editor panel
-
allowsInlineEditing
public boolean allowsInlineEditing()
Returns whether inline editing in the GOE is allowed.- Specified by:
allowsInlineEditingin classAbstractAdvancedScript- Returns:
- true if inline editing is allowed
-
-