public class UIBaseEvent<UICOMP extends IUIComp> extends BaseEvent<UICOMP>
IMessageBox.Icon
ICON_ERROR, ICON_INFORMATION, ICON_MAP, ICON_NONE, ICON_QUESTION, ICON_WARNING
Modifier | Constructor and Description |
---|---|
protected |
UIBaseEvent(UICOMP source)
Constructor called from the subclass.
|
Modifier and Type | Method and Description |
---|---|
IAppSessionGyro |
getAppSessionGyro()
Gets the Application Session Gyro instance.
|
IClientSessionGyro |
getClientSessionGyro()
Gets the Client Session Gyro instance.
|
<COMP extends UIComp> |
getFirstUIComponent(String name,
Class<COMP> uiClass)
Gets the first UI component of the specified name and UI class.
|
<COMP extends UIComp> |
getFirstUIComponentNull(String name,
Class<COMP> uiClass)
Gets the first UI component of the specified name and UI class.
|
<COMP extends UIComp> |
getPanelUIComponent(@UIRef String uiPath,
Class<COMP> uiClass)
Gets a UI component by UI path reference from the panel.
|
<COMP extends UIComp> |
getPanelUIComponentNull(@UIRef String uiPath,
Class<COMP> uiClass)
Gets a UI component with relative reference from this container.
|
UIPanelBase |
getUIPanel()
Gets the panel of the UI event source component.
|
VirtualSpace |
getVirtualSpace()
Gets the VirtualSpace of the UI event source component.
|
getAction, getAction2, getActionNull, getActionNull2, getField, getField2, getFieldNull, getFieldNull2, getGroup, getGroup2, getGroupNull, getGroupNull2, getSource, getTable, getTable2, getTableNull, getTableNull2, getTime, getVirtualizedVirtualSpace, getVSComponent, getVSComponent2, getVSComponentNull, getVSComponentNull2, messageBox, paramString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
messageBox, messageBox
protected UIBaseEvent(UICOMP source)
NullPointerException
- If the source is null.public VirtualSpace getVirtualSpace()
getVirtualSpace
in class BaseEvent<UICOMP extends IUIComp>
public IAppSessionGyro getAppSessionGyro()
getAppSessionGyro
in class BaseEvent<UICOMP extends IUIComp>
public IClientSessionGyro getClientSessionGyro()
public UIPanelBase getUIPanel()
public <COMP extends UIComp> COMP getPanelUIComponent(@UIRef String uiPath, Class<COMP> uiClass) throws NotFoundException
Note: A UI path is not the same as a property path, it omits the UI container UIComps instance from the path.
uiPath
- The UI path for the component.uiClass
- The UI class of the component.NotFoundException
- The not-found exception is thrown if the component
is not found instead of returning null.public <COMP extends UIComp> COMP getPanelUIComponentNull(@UIRef String uiPath, Class<COMP> uiClass)
Note: A UI path is not the same as a property path, it omits the UI container UIComps instance from the path.
uiPath
- The UI path for the component.uiClass
- The UI class of the component.public <COMP extends UIComp> COMP getFirstUIComponent(String name, Class<COMP> uiClass)
name
- The name of the component.uiClass
- The UI class of the component.NotFoundException
- The not-found exception is thrown if the component
is not found instead of returning null.public <COMP extends UIComp> COMP getFirstUIComponentNull(String name, Class<COMP> uiClass)
name
- The name of the component.uiClass
- The UI class of the component.iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.