Package com.solibri.smc.api.ui
Interface UIComponent
- All Known Subinterfaces:
UIContainer
,UIContainerHorizontal
,UIContainerVertical
,UIImage
,UILabel
,UIRadioButtonPanel
,UIRadioButtonPanelHorizontal
,UIRadioButtonPanelVertical
,UIRuleParameter
public interface UIComponent
Common interface for rule parameter UI components. All instances of UIComponents used in defining a UI must be
unique.
- Since:
- 9.10.2
-
Method Summary
Modifier and TypeMethodDescriptionReturns the UIComponent whose enabled state this UIComponent is set to follow.void
setEnabler(UIComponent enabler)
Sets this UIComponent to follow the enabled state of enabler.
-
Method Details
-
setEnabler
Sets this UIComponent to follow the enabled state of enabler. The enabler is a component that is used to make another component enabled or disabled. For example, the enabler can be a rule parameter with a check box which makes another part of the UI enabled or disabled.- Parameters:
enabler
- the UIComponent whose enabled state this UIComponent follows- Since:
- 9.10.2
-
getEnabler
Optional<UIComponent> getEnabler()Returns the UIComponent whose enabled state this UIComponent is set to follow.- Returns:
- the UIComponent whose enabled state this UIComponent is set to follow
- Since:
- 9.10.2
-