public class TSQNameEditor
extends java.beans.PropertyEditorSupport
This Class provides a property editor for the name property of a TSQ. At the moment, we only support setting the name property via a string, but ultimately we want to support setting the name via an array of bytes also. At the moment, this is only a simple PropertyEditor and it only supports the simple display style categorised as returning a non-null String from getAsText(). We support both a call on setValue() for a byte[] argument and a call to setAsText().
Constructor and Description |
---|
TSQNameEditor()
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAsText() |
void |
setAsText(java.lang.String text) |
public TSQNameEditor()
public java.lang.String getAsText()
getAsText
in interface java.beans.PropertyEditor
getAsText
in class java.beans.PropertyEditorSupport
PropertyEditorSupport.getAsText()
public void setAsText(java.lang.String text) throws java.lang.IllegalArgumentException
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport
java.lang.IllegalArgumentException
PropertyEditorSupport.setAsText(java.lang.String)