public class FunctionPropertyDesc extends PropertyDesc
PropertyDesc.TypeCode
PropertyInfo.Edit, PropertyInfo.ExpandState
debug, INHERITABLE, READ_ONLY, REGULAR
Constructor and Description |
---|
FunctionPropertyDesc() |
Modifier and Type | Method and Description |
---|---|
FieldPointFunction |
getFunction(HasProperties host) |
void |
maybeWritePropertyFunction(java.io.PrintWriter pw,
HasProperties host,
NumberFormat fmt,
CompositeComponent ancestor) |
void |
postscanPropertyFunction(java.util.Deque<ScanToken> tokens,
HasProperties host,
CompositeComponent ancestor) |
void |
scanPropertyFunction(ReaderTokenizer rtok,
HasProperties host,
java.util.Deque<ScanToken> tokens) |
void |
set(PropertyDesc desc,
java.lang.Class<?> hostClass)
Sets this PropertyDesc from an existing one and a
a specified host class.
|
void |
setFunction(HasProperties host,
FieldPointFunction function) |
createHandle, createInstance, getAllowedTypes, getAutoWrite, getDefaultMode, getDefaultNumericRange, getDefaultValue, getDescription, getDimension, getEditing, getFormat, getHostClass, getMode, getName, getNullValueOK, getPrintFormat, getRange, getTypeCode, getValue, getValueClass, getWidgetExpandState, hasRestrictedRange, initialize, isInheritable, isReadOnly, isSharable, isSliderAllowed, scanInstance, scanValue, scanValue, setAllowedTypes, setAutoWrite, setDefaultValue, setDescription, setDimension, setEditing, setFormat, setGetMethod, setGetModeMethod, setMode, setName, setNullValueOK, setNumericRange, setPrintFormat, setSetMethod, setSetModeMethod, setSliderAllowed, setValue, setWidgetExpandState, valueEqualsDefault, writeIfNonDefault, writeValue, writeValue
public void set(PropertyDesc desc, java.lang.Class<?> hostClass)
PropertyDesc
set
in class PropertyDesc
public FieldPointFunction getFunction(HasProperties host)
public void setFunction(HasProperties host, FieldPointFunction function)
public void maybeWritePropertyFunction(java.io.PrintWriter pw, HasProperties host, NumberFormat fmt, CompositeComponent ancestor) throws java.io.IOException
java.io.IOException
public void scanPropertyFunction(ReaderTokenizer rtok, HasProperties host, java.util.Deque<ScanToken> tokens) throws java.io.IOException
java.io.IOException
public void postscanPropertyFunction(java.util.Deque<ScanToken> tokens, HasProperties host, CompositeComponent ancestor) throws java.io.IOException
java.io.IOException