Interface ValueSetable
-
public interface ValueSetable
this interface can be implemented by a tableModel to enable the setting of double-values via popup menu.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getValueName()
has to return the name of the value in order to display it for the user.boolean
isValueSetEnabled()
is queried by the popup menu to determine, if it shall enable the setValue-functionality or not.void
setValueAllSelected(java.lang.Double value)
sets the Value to all selected rows.
-
-
-
Method Detail
-
isValueSetEnabled
boolean isValueSetEnabled()
is queried by the popup menu to determine, if it shall enable the setValue-functionality or not.- Returns:
- true if enabled, false if not
-
setValueAllSelected
void setValueAllSelected(java.lang.Double value)
sets the Value to all selected rows.- Parameters:
value
- the value to set.
-
getValueName
java.lang.String getValueName()
has to return the name of the value in order to display it for the user.- Returns:
- the name of the value
-
-