Class CmsClientEditableGroupButtons

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.opencms.ui.client.editablegroup.CmsClientEditableGroupButtons
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget

public class CmsClientEditableGroupButtons extends com.google.gwt.user.client.ui.Composite
Client side button bar widget for multivalue widget groups.

  • Nested Class Summary

    Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject

    com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected CmsPushButton
    The 'add' button.
    protected CmsPushButton
    The 'delete' button.
    protected CmsPushButton
    The 'down' button.
    protected CmsPushButton
    OpenCms 'bullseye' dummy button, does nothing.
    protected CmsPushButton
    The 'edit' button.
    protected CmsPushButton
    The 'up' button.

    Fields inherited from class com.google.gwt.user.client.ui.UIObject

    DEBUG_ID_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setEditVisible(boolean editEnabled)
    Shows / hides the edit button.
    void
    setFirst(boolean first)
    Sets the 'first' status of the button bar.
    void
    setHideAdd(boolean hideAdd)
    Hides the add button.
    void
    setLast(boolean last)
    Sets the 'last' status of the button bar.

    Methods inherited from class com.google.gwt.user.client.ui.Composite

    claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget

    Methods inherited from class com.google.gwt.user.client.ui.Widget

    addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents

    Methods inherited from class com.google.gwt.user.client.ui.UIObject

    addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • setEditVisible

      public void setEditVisible(boolean editEnabled)
      Shows / hides the edit button.
      Parameters:
      editEnabled - true if edit button should be shown
    • setFirst

      public void setFirst(boolean first)
      Sets the 'first' status of the button bar.

      Parameters:
      first - true if this is the button bar of the first row of a multivalue field
    • setHideAdd

      public void setHideAdd(boolean hideAdd)
      Hides the add button.

      Parameters:
      hideAdd - true-> hide the add button
    • setLast

      public void setLast(boolean last)
      Sets the 'last' status of the button bar.

      Parameters:
      last - true if this is the button bar of the last row of a multivalue field