Class AbstractGuiComponent

java.lang.Object
org.praxislive.base.AbstractComponent
org.praxislive.gui.impl.AbstractGuiComponent
All Implemented Interfaces:
org.praxislive.core.Component
Direct Known Subclasses:
HRangeSlider, SingleBindingGuiComponent, VRangeSlider, XYController

public abstract class AbstractGuiComponent extends org.praxislive.base.AbstractComponent
Abstract superclass for default GuiComponent model.
  • Constructor Details

    • AbstractGuiComponent

      public AbstractGuiComponent()
  • Method Details

    • getSwingComponent

      public final JComponent getSwingComponent()
    • getInfo

      public org.praxislive.core.ComponentInfo getInfo()
    • write

      public void write(org.praxislive.core.TreeWriter writer)
      Specified by:
      write in interface org.praxislive.core.Component
      Overrides:
      write in class org.praxislive.base.AbstractComponent
    • initControls

      protected void initControls(org.praxislive.core.Info.ComponentInfoBuilder cmpInfo)
    • parentNotify

      public void parentNotify(org.praxislive.core.Container parent) throws org.praxislive.core.VetoException
      Specified by:
      parentNotify in interface org.praxislive.core.Component
      Overrides:
      parentNotify in class org.praxislive.base.AbstractComponent
      Throws:
      org.praxislive.core.VetoException
    • hierarchyChanged

      public void hierarchyChanged()
      Specified by:
      hierarchyChanged in interface org.praxislive.core.Component
      Overrides:
      hierarchyChanged in class org.praxislive.base.AbstractComponent
    • createSwingComponent

      protected abstract JComponent createSwingComponent()
    • updateLabel

      protected void updateLabel()
    • getLabel

      protected String getLabel()
    • isLabelOnParent

      protected boolean isLabelOnParent()