Package adams.db
Class SQLStatement
-
- All Implemented Interfaces:
CloneHandler<BaseObject>,Serializable,Comparable
public class SQLStatement extends AbstractAdvancedScript
Wrapper for a SQL statement to be editable in the GOE.- 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 SQLStatement()Initializes the string with length 0.SQLStatement(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.protected StringgetScriptTipText()Returns the tip text for the script.AbstractTextAreaPanelWithAdvancedSyntaxHighlightinggetTextAreaPanel()Returns the configured text area panel to use in the GOE.-
Methods inherited from class adams.gui.core.AbstractAdvancedScript
getTipText, 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
-
SQLStatement
public SQLStatement()
Initializes the string with length 0.
-
SQLStatement
public SQLStatement(String s)
Initializes the object with the string to parse.- Parameters:
s- the string to parse
-
-
Method Detail
-
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 area panel to use in the GOE.- Specified by:
getTextAreaPanelin classAbstractAdvancedScript- Returns:
- the text area 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
-
-