Class ControlParent
java.lang.Object
ch.nolix.system.webgui.main.ControlParent
- All Implemented Interfaces:
ControlComponent<Control<?,?>>, GuiComponent<IWebGui<?>>, LayerComponent<ILayer>, IControlParent
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanstatic ControlParentforControl(Control<?, ?> control) static ControlParentControl<?, ?> Control<?, ?> IWebGui<?> booleanbooleanisLayer()
-
Method Details
-
forControl
-
forLayer
-
belongsToControl
public boolean belongsToControl()- Specified by:
belongsToControlin interfaceControlComponent<Control<?,?>> - Returns:
- true if the current
ControlComponentbelongs to a control, false otherwise.
-
belongsToGui
public boolean belongsToGui()- Specified by:
belongsToGuiin interfaceGuiComponent<IWebGui<?>>- Returns:
- true if the current
GuiComponentbelongs to a GUI, false otherwise.
-
belongsToLayer
public boolean belongsToLayer()- Specified by:
belongsToLayerin interfaceLayerComponent<ILayer>- Returns:
- true if the current
LayerComponentbelongs to a layer, false otherwise.
-
getStoredControl
- Specified by:
getStoredControlin interfaceIControlParent- Returns:
- the
Controlthe currentIControlParentis.
-
getStoredLayer
- Specified by:
getStoredLayerin interfaceIControlParent- Returns:
- the
ILayerthe currentIControlParentis.
-
getStoredParentControl
- Specified by:
getStoredParentControlin interfaceControlComponent<Control<?,?>> - Returns:
- the control of the current
ControlComponent.
-
getStoredParentGui
- Specified by:
getStoredParentGuiin interfaceGuiComponent<IWebGui<?>>- Returns:
- the GUI of the current
GuiComponent.
-
getStoredParentLayer
- Specified by:
getStoredParentLayerin interfaceLayerComponent<ILayer>- Returns:
- the parent layer of the current
LayerComponent.
-
isControl
public boolean isControl()- Specified by:
isControlin interfaceIControlParent- Returns:
- true if the current
IControlParentis aControl, false otherwise.
-
isLayer
public boolean isLayer()- Specified by:
isLayerin interfaceIControlParent- Returns:
- true if the current
IControlParentis aILayer, false otherwise.
-