| |
|
| java.lang.Object org.netbeans.modules.visualweb.insync.live.SourceDesignProperty
All known Subclasses: org.netbeans.modules.visualweb.insync.live.BeansDesignProperty,
SourceDesignProperty | abstract public class SourceDesignProperty implements DesignProperty(Code) | | Abstract base partial DesignProperty implementation which manages a PropertyDescriptor and other
basic beans and designtime stuff and ties into the rest of the SourceLive* classes.
author: Joe Nuxoll author: Carl Quinn |
Inner Class :public static class ClipImage | |
EMPTY_OBJECT_ARRAY | final public static Object[] EMPTY_OBJECT_ARRAY(Code) | | |
modified | protected boolean modified(Code) | | |
equalsInitial | public boolean equalsInitial(Object value)(Code) | | Returns whether or not a given value is differnt than the initial value
Parameters: value - The value to compare against this properties initial value. True iff the value is equal to this properties initial value. |
getClipImage | public ClipImage getClipImage()(Code) | | |
getPropertyCategory | public String getPropertyCategory()(Code) | | |
getPropertyEditor | public PropertyEditor getPropertyEditor()(Code) | | The property editor for this property, for internal use. |
getValueSource | abstract public String getValueSource()(Code) | | Expected to be overriden by subclasses
|
initLive | abstract protected void initLive()(Code) | | Called after construction to initialize the live state from the source
|
invokeSetter | protected boolean invokeSetter(Object value)(Code) | | Parameters: value - |
isModified | public boolean isModified()(Code) | | |
loadEditor | protected void loadEditor()(Code) | | Load the property editor for use with this design property, and cache it.
|
objectsEqual | public static boolean objectsEqual(Object v1, Object v2)(Code) | | Returns whether or not two given values are equal, including null-ness
Parameters: v1 - The first value. Parameters: v2 - The second value. True iff the two values are equal. |
setModified | public void setModified(boolean modified)(Code) | | Set this property as modified or unmodified. If the latter, then also regrab the initial
value.
Parameters: modified - The modified state that this property should be set to. |
setPropertyCategory | public void setPropertyCategory(String category)(Code) | | Parameters: category - |
setValueSource | abstract public boolean setValueSource(String value)(Code) | | |
toJavaInitializationString | final protected String toJavaInitializationString(Object value)(Code) | | Calculate the Java source representation for a given object value using the property editor.
Parameters: value - The value object. the Java initialization string for the value. |
unloadPropertyEditor | protected void unloadPropertyEditor()(Code) | | Remove any property editor that may have been loaded prior.
|
unset | public boolean unset()(Code) | | |
|
|
|