Package adams.core.base
Class BaseText
- java.lang.Object
-
- adams.core.base.BaseObject
-
- adams.core.base.AbstractBaseString
-
- adams.core.base.BaseText
-
- All Implemented Interfaces:
CloneHandler<BaseObject>
,Serializable
,Comparable
public class BaseText extends AbstractBaseString
Wrapper for a String object to be editable in the GOE. Basically the same as BaseString, but used for longer, multi-line strings. Uses a different GOE editor.- 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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getTipText()
Returns a tool tip for the GUI editor (ignored if null is returned).String
stringValue()
Returns the backquoted String value.-
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
-
BaseText
public BaseText()
Initializes the string with length 0.
-
BaseText
public BaseText(String s)
Initializes the object with the string to parse.- Parameters:
s
- the string to parse
-
-
Method Detail
-
stringValue
public String stringValue()
Returns the backquoted String value.- Overrides:
stringValue
in classAbstractBaseString
- Returns:
- the backquoted String value
-
getTipText
public String getTipText()
Returns a tool tip for the GUI editor (ignored if null is returned).- Specified by:
getTipText
in classAbstractBaseString
- Returns:
- the tool tip
-
-