Interface I_CmsEditWidget

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler​(com.google.gwt.event.logical.shared.ValueChangeHandler<java.lang.String> handler)  
      boolean isActive()
      Returns if the widget is active.
      void onAttachWidget()
      This method is called when a widget is attached to the browser's document.
      boolean owns​(com.google.gwt.dom.client.Element element)
      Returns true if the element should be logically counted as part of the widget for the purpose of determining whether a mouse click is "outside".
      void setActive​(boolean active)
      Sets the widget active/inactive.
      void setName​(java.lang.String name)
      Sets the name of input fields.
      void setValue​(java.lang.String value, boolean fireEvent)  
      • Methods inherited from interface com.google.gwt.event.dom.client.HasFocusHandlers

        addFocusHandler
      • Methods inherited from interface com.google.gwt.event.shared.HasHandlers

        fireEvent
      • Methods inherited from interface com.google.gwt.user.client.ui.HasValue

        getValue, setValue
      • Methods inherited from interface com.google.gwt.user.client.ui.IsWidget

        asWidget
    • Method Detail

      • addValueChangeHandler

        com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler​(com.google.gwt.event.logical.shared.ValueChangeHandler<java.lang.String> handler)
        Specified by:
        addValueChangeHandler in interface com.google.gwt.event.logical.shared.HasValueChangeHandlers<java.lang.String>
        See Also:
        HasValueChangeHandlers.addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler)
      • isActive

        boolean isActive()
        Returns if the widget is active.

        Returns:
        true if the widget is active
      • onAttachWidget

        void onAttachWidget()
        This method is called when a widget is attached to the browser's document.

        It needs to call the Widget.onAttach() method.

      • owns

        boolean owns​(com.google.gwt.dom.client.Element element)
        Returns true if the element should be logically counted as part of the widget for the purpose of determining whether a mouse click is "outside". For example, this is needed if the widget uses a popup.
        Parameters:
        element - the element to check
        Returns:
        true if the element counts as part of the widget
      • setActive

        void setActive​(boolean active)
        Sets the widget active/inactive.

        Parameters:
        active - true to activate the widget
      • setName

        void setName​(java.lang.String name)
        Sets the name of input fields.

        Parameters:
        name - of the input field
      • setValue

        void setValue​(java.lang.String value,
                      boolean fireEvent)
        Specified by:
        setValue in interface com.google.gwt.user.client.ui.HasValue<java.lang.String>
        See Also:
        HasValue.setValue(java.lang.Object, boolean)