Class CmsCodeMirrorToggleButton

  • All Implemented Interfaces:,,<java.lang.Boolean>,,,,,

    public class CmsCodeMirrorToggleButton
    extends CmsCodeMirrorToolbarButton
    Simple toggle button for the CodeMirror toolbar.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class,
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description addValueChangeHandler​(<java.lang.Boolean> handler)  
      boolean getValue()
      Returns the toggle state.
      void setValue​(boolean value, boolean fireEvents)
      Sets the value.
      • Methods inherited from class

        claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
      • Methods inherited from class

        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

        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
      • Methods inherited from interface

    • Method Detail

      • addValueChangeHandler

        public addValueChangeHandler​(<java.lang.Boolean> handler)
        Specified by:
        addValueChangeHandler in interface<java.lang.Boolean>
        See Also:
      • getValue

        public boolean getValue()
        Returns the toggle state.
        the toggle state
      • setValue

        public void setValue​(boolean value,
                             boolean fireEvents)
        Sets the value.
        value - the new value
        fireEvents - true if a change event should be fired