Class FxRadioButtonDelegate

java.lang.Object
org.tentackle.fx.FxControlDelegate
org.tentackle.fx.FxComponentDelegate
org.tentackle.fx.component.delegate.FxRadioButtonDelegate
All Implemented Interfaces:
ErrorPopupSupported, FxComponent, FxControl, InfoPopupSupported

public class FxRadioButtonDelegate extends FxComponentDelegate
Delegate for FxRadioButton.
Author:
harald
  • Constructor Details

    • FxRadioButtonDelegate

      public FxRadioButtonDelegate(FxRadioButton component)
      Creates the delegate.
      Parameters:
      component - the component
  • Method Details

    • getComponent

      public FxRadioButton getComponent()
      Description copied from class: FxComponentDelegate
      Gets the component of this delegate.
      Specified by:
      getComponent in class FxComponentDelegate
      Returns:
      the component
    • getParentContainer

      public FxContainer getParentContainer()
      Description copied from interface: FxControl
      Gets the parent container.
      Specified by:
      getParentContainer in interface FxControl
      Overrides:
      getParentContainer in class FxComponentDelegate
      Returns:
      the parent, null if not a component of a container
    • setType

      public void setType(Class<?> type)
      Description copied from interface: FxComponent
      Sets the type for this component.

      Notice that the type can be applied only once. This is because previously installed listeners could cause memory leaks.

      Specified by:
      setType in interface FxComponent
      Overrides:
      setType in class FxComponentDelegate
      Parameters:
      type - the type
    • getViewObject

      public Boolean getViewObject()
      Description copied from interface: FxComponent
      Retrieves the internal native object of the component.
      Returns:
      the component's object
    • setViewObject

      public void setViewObject(Object viewObject)
      Description copied from interface: FxComponent
      Sets the internal native object of the component.
      Parameters:
      viewObject - the internal object