|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InputContext
Context for the Input.
| Method Summary | |
|---|---|
Object |
getAttribute(String name)
Obtains the attribute for the name. |
Object |
getInitialValue()
Obtains the initial value. |
org.eclipse.swt.widgets.Composite |
getParent()
Obtains the Composite. |
void |
notifyValueChanged(Object value)
Invoked by the Input on the value changing. |
void |
notifyValueInvalid(String message)
Invoked by the Input to indicate invalid. |
void |
setAttribute(String name,
Object value)
Adds an attribute to the context of the property. |
| Method Detail |
|---|
org.eclipse.swt.widgets.Composite getParent()
Composite.
Composite.Object getInitialValue()
Object getAttribute(String name)
name - Name of the attribute.
null if not specified.
void setAttribute(String name,
Object value)
name - Name of the attribute.value - Value of the attribute.void notifyValueChanged(Object value)
Invoked by the Input on the value changing.
This allows for validation of the value to determine if value is valid.
value - New value.void notifyValueInvalid(String message)
Input to indicate invalid.
message - Reason invalid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||