Package com.iizix.api.ui
Class UITextChangeEvent
- All Implemented Interfaces:
IMessageBox
The UI Text Change Event is fired when the UI text changes for a component, or when connected to the panel, for every child item in it.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from interface com.iizix.gyro.IMessageBox
IMessageBox.IconField Summary
Fields inherited from interface com.iizix.gyro.IMessageBox
ICON_ERROR, ICON_INFORMATION, ICON_MAP, ICON_NONE, ICON_QUESTION, ICON_WARNINGConstructor Summary
ConstructorsConstructorDescriptionUITextChangeEvent(UIComp source) Constructs the event for a text change without a trigger source.UITextChangeEvent(UIComp source, GProp<?> trigger) Constructs the event for a text change event with a property being the trigger source, e.g.Method Summary
Methods inherited from class com.iizix.api.ui.UIBaseEvent
getAppSessionGyro, getClientSessionGyro, getContainerFirstUIComponent, getContainerFirstUIComponentNull, getFirstUIComponent, getFirstUIComponentNull, getPanelUIComponent, getPanelUIComponentNull, getUIPanel, getVirtualSpaceMethods inherited from class com.iizix.api.BaseEvent
getAction, getAction2, getActionNull, getActionNull2, getField, getField2, getFieldNull, getFieldNull2, getGroup, getGroup2, getGroupNull, getGroupNull2, getTable, getTable2, getTableNull, getTableNull2, getTime, getVirtualizedVirtualSpace, getVSComponent, getVSComponent2, getVSComponentNull, getVSComponentNull2, messageBox, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.iizix.gyro.IMessageBox
messageBox, messageBox
Constructor Details
UITextChangeEvent
Constructs the event for a text change without a trigger source.- Parameters:
source- The source.- Throws:
NullPointerException- If the source is null.
UITextChangeEvent
Constructs the event for a text change event with a property being the trigger source, e.g. an UIButton or UICheckBox.- Parameters:
source- The source.trigger- The trigger property.
Method Details
getTrigger
Gets the trigger property being the source of the event.- Returns:
- The triggering property or null if the trigger is not a property.
getSource
Gets the UI component that is the source of the event, i.e. the item who's text was changed.paramString
Gets the parameter string.- Overrides:
paramStringin classBaseEvent<UIComp>