Class ControlParent
java.lang.Object
ch.nolix.system.webgui.main.ControlParent
- All Implemented Interfaces:
IControlComponent<IControl<?,?>>, IGuiComponent<IWebGui<?>>, ILayerComponent<ILayer<?>>, IControlParent
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanstatic ControlParentforControl(IControl<?, ?> control) static ControlParentIControl<?, ?> ILayer<?> IControl<?, ?> IWebGui<?> ILayer<?> booleanbooleanisLayer()
-
Method Details
-
forControl
-
forLayer
-
belongsToControl
public boolean belongsToControl()- Specified by:
belongsToControlin interfaceIControlComponent<IControl<?,?>> - Returns:
- true if the current
IControlComponentbelongs to a control, false otherwise.
-
belongsToGui
public boolean belongsToGui()- Specified by:
belongsToGuiin interfaceIGuiComponent<IWebGui<?>>- Returns:
- true if the current
IGuiComponentbelongs to a GUI, false otherwise.
-
belongsToLayer
public boolean belongsToLayer()- Specified by:
belongsToLayerin interfaceILayerComponent<ILayer<?>>- Returns:
- true if the current
ILayerComponentbelongs to a layer, false otherwise.
-
getStoredControl
- Specified by:
getStoredControlin interfaceIControlParent- Returns:
- the
IControlthe currentIControlParentis.
-
getStoredLayer
- Specified by:
getStoredLayerin interfaceIControlParent- Returns:
- the
ILayerthe currentIControlParentis.
-
getStoredParentControl
- Specified by:
getStoredParentControlin interfaceIControlComponent<IControl<?,?>> - Returns:
- the control of the current
IControlComponent.
-
getStoredParentGui
- Specified by:
getStoredParentGuiin interfaceIGuiComponent<IWebGui<?>>- Returns:
- the GUI of the current
IGuiComponent.
-
getStoredParentLayer
- Specified by:
getStoredParentLayerin interfaceILayerComponent<ILayer<?>>- Returns:
- the parent layer of the current
ILayerComponent.
-
isControl
public boolean isControl()- Specified by:
isControlin interfaceIControlParent- Returns:
- true if the current
IControlParentis aIControl, false otherwise.
-
isLayer
public boolean isLayer()- Specified by:
isLayerin interfaceIControlParent- Returns:
- true if the current
IControlParentis aILayer, false otherwise.
-