Package com.iizigo.prop
Interface IEditedPropControllerOwner<PROP extends GProp<?>,PROP_VALUE> 
- All Known Implementing Classes:
- BadgePropEditor,- BaseEditor,- BaseReferencePropEditor,- BoolPropEditor,- BoxShadowPropEditor,- ClassReferencePropEditor,- ColorPropEditor,- ConnectionProfilePropEditor,- ContentProviderPropEditor,- DateTimePropEditor,- DropShadowPropEditor,- DurationPropEditor,- EncodingPropEditor,- FillPropEditor,- FontFamilyPropEditor,- FontPropEditor,- GradientPropEditor,- ImageReferencePropEditor,- IntChoicePropEditor,- IntPropEditor,- KStringPropEditor,- LocalizedStringPropEditor,- LongPropEditor,- MediaReferencePropEditor,- MethodReferencePropEditor,- MultiPropCnr,- NullValueAllowedPropEditor,- NumberPropEditor,- PanelAnimationPropEditor,- PasswordPropEditor,- PatternPropEditor,- PKCS12IdentityPropEditor,- ReferencePropEditor,- SessionConfigPropEditor,- SizePropEditor,- StringMapPropEditor,- StringPropEditor,- StrokePropEditor,- StylesReferencesPropEditor,- StylesStatesPropEditor,- TextShadowPropEditor,- ThemesPropEditor,- TooltipPropEditor,- TransformPropEditor,- UIDateTimeTypePropEditor,- UnitPropEditor,- UnitsPropEditor,- ValuePropEditor,- ValueTypePropEditor,- VAPIDKeyPropEditor,- VSActionActorParticipantEditor,- VSParticipantEditor,- VSReferencePropEditor,- VSRelativeReferencePropEditor,- VSTableColumnReferencePropEditor,- WrapStringPropEditor
public interface IEditedPropControllerOwner<PROP extends GProp<?>,PROP_VALUE> 
Interface implemented by property editors.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- formatValue- (PROP_VALUE value) Formats a value to a String, used to show a tool-tip in the editor.Gets the current input string when it applies.Gets the default value for a property.- void- initialize- (PROP prop) Initializes a newly created property (e.g.- void- onError- (String input, String message, int severity, boolean isMultipleValueWarning, boolean isChildError) Called when the property is updated due to an error.- void- onReadOnly- (boolean on) Called when the read-only state changes.- voidCalled when the property is undefined.- void- onUpdate- (PROP_VALUE value) Called when the property is updated without errors, with a new value.
- Method Details- formatValueFormats a value to a String, used to show a tool-tip in the editor.
- initializeInitializes a newly created property (e.g. a reference property for accepted classes, etc).- Parameters:
- prop- The newly created orphan property.
- Throws:
- PropException- For property errors.
 
- getDefaultValuePROP_VALUE getDefaultValue()Gets the default value for a property.
- onUpdateCalled when the property is updated without errors, with a new value.
- onUndefinedvoid onUndefined()Called when the property is undefined.
- onErrorvoid onError- (String input, String message, int severity, boolean isMultipleValueWarning, boolean isChildError) Called when the property is updated due to an error.
- onReadOnlyvoid onReadOnly- (boolean on) Called when the read-only state changes.
- getCurrentInputString getCurrentInput()Gets the current input string when it applies.