public abstract class RGValue
extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
hasValue |
Constructor and Description |
---|
RGValue() |
Modifier and Type | Method and Description |
---|---|
RGValue |
copy() |
abstract String |
explainMe()
An explanatory string to describe what the values mean.
|
TableCellEditor |
getEditor()
Returns the editor that should be used in a JTable (or others) for this
kind of value.
|
abstract Object |
getValue()
Return the value as some kind of object.
|
abstract Class |
getValueClass()
Returns the kind of value expected.
|
boolean |
hasValue()
Whether this cell has already been assigned a value or not
|
abstract boolean |
queryCellValue(String s)
Ask an interactive user what value to assign.
|
abstract String |
toString()
Whatever kind of value this is, show it as a displayable string.
|
public RGValue copy()
public abstract boolean queryCellValue(String s)
s
- An explanatory string for the user.public boolean hasValue()
true
if there's a value;
false
otherwise.public abstract Object getValue()
public abstract String toString()
toString
in class Object
public abstract String explainMe()
public abstract Class getValueClass()
public TableCellEditor getEditor()