Class TreeControl.TreeNodeComponentState

java.lang.Object
io.guise.framework.component.AbstractCompositeStateComponent.ComponentState
io.guise.framework.component.TreeControl.TreeNodeComponentState
Enclosing class:
TreeControl

protected static class TreeControl.TreeNodeComponentState extends AbstractCompositeStateComponent.ComponentState
An encapsulation of a component for a tree node along with other metadata, such as whether the component was editable when created.
Author:
Garret Wilson
  • Constructor Details

    • TreeNodeComponentState

      public TreeNodeComponentState(Component component, boolean editable)
      Constructor
      Parameters:
      component - The component for a tree node.
      editable - Whether the component is for a tree node that was editable when the component was created.
      Throws:
      NullPointerException - if the given component is null.
  • Method Details

    • isEditable

      public boolean isEditable()
      Returns:
      Whether the component is for a tree node that was editable when the component was created.