Class TabSetEditProxy

All Implemented Interfaces:
HasHandlers

public class TabSetEditProxy extends CanvasEditProxy
EditProxy that handles TabSet objects when editMode is enabled.
See Also:
  • Constructor Details

    • TabSetEditProxy

      public TabSetEditProxy()
    • TabSetEditProxy

      public TabSetEditProxy(JavaScriptObject jsObj)
  • Method Details

    • getOrCreateRef

      public static TabSetEditProxy getOrCreateRef(JavaScriptObject jsObj)
    • create

      public JavaScriptObject create()
      Overrides:
      create in class CanvasEditProxy
    • getInlineEditText

      public void getInlineEditText()
      Returns the text based on the current component state to be edited inline. Called by the EditProxy.inlineEditForm to obtain the starting edit value.

      Returns a comma-separated list of tab titles. A " [x]" suffix is added for any tab with canClose enabled.

      Overrides:
      getInlineEditText in class EditProxy
    • setInlineEditText

      public void setInlineEditText(String newValue)
      Save the new value into the component's state. Called by the EditProxy.inlineEditForm to commit the change.

      Takes a comma-separated list of tab titles. Add " [x]" to a title to enable canClose for the tab.

      Overrides:
      setInlineEditText in class EditProxy
      Parameters:
      newValue - the new component state