|
install4j API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyCustomizer
Customizer component for a property that is used in a dialog. Implementing classes must extend Component
.
A Property customizer is specified in a property converter
.
Property converters are registered on a per-bean basis with
Install4JBeanInfo.setPropertyConverters(PropertyConverter[])
.
PropertyConverter.getPropertyCustomizerClass()
Method Summary | |
---|---|
void |
cancel()
Called if the property customizer dialog is exited with the Cancel button. |
boolean |
isModified()
Called by the install4j IDE when the dialog is closed in order to determine if the user has made any modifications. |
boolean |
ok()
Called if the property customizer dialog is exited with the OK button. |
void |
setParentWindow(java.awt.Window window)
Called by the install4j IDE after the property customizer is initialized and sets the parent window. |
void |
setValue(java.lang.Object value,
Bean bean)
Sets the property value and the bean. |
Method Detail |
---|
void setValue(java.lang.Object value, Bean bean)
value
- the property valuebean
- the beanboolean ok()
void cancel()
boolean isModified()
void setParentWindow(java.awt.Window window)
window
- the parent window
|
install4j API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |