Class EditCommentAction

All Implemented Interfaces:
AdvancedListViewAction, ListViewAction
Direct Known Subclasses:
EditCommentFromCommentLayerAction

public class EditCommentAction extends AbstractCommentAction
  • Field Details

    • COCKPIT_IMAGES_EDIT_ACTION_PNG

      protected static final String COCKPIT_IMAGES_EDIT_ACTION_PNG
      See Also:
    • COCKPIT_IMAGES_EDIT_ACTION_UNAVAILABLE_PNG

      protected static final String COCKPIT_IMAGES_EDIT_ACTION_UNAVAILABLE_PNG
      See Also:
  • Constructor Details

    • EditCommentAction

      public EditCommentAction()
  • Method Details

    • doCreateContext

      protected void doCreateContext(ListViewAction.Context context)
      Specified by:
      doCreateContext in class AbstractListViewAction
    • getContextPopup

      public org.zkoss.zul.Menupopup getContextPopup(ListViewAction.Context context)
      Description copied from interface: ListViewAction
      Gets the context popup of the action button.
      Returns:
      the popup which should appear when the user right-clicks the action button or null if no popup is available
    • getEventListener

      public org.zkoss.zk.ui.event.EventListener getEventListener(ListViewAction.Context context)
      Description copied from interface: ListViewAction
      Gets the EventListener which is to be registered for the Events.ON_CLICK event.
      Returns:
      the event listener which should be called when user clicks the action button
    • getImageURI

      public String getImageURI(ListViewAction.Context context)
      Description copied from interface: ListViewAction
      Gets the image URI which represents the action button.
      Returns:
      URI of the image to represent the action button
    • getPopup

      public org.zkoss.zul.Menupopup getPopup(ListViewAction.Context context)
      Description copied from interface: ListViewAction
      Gets the popup of the action button.
      Returns:
      the popup which should appear when the user clicks the action button or null if no popup is available
    • getTooltip

      public String getTooltip(ListViewAction.Context context)
      Description copied from interface: ListViewAction
      Gets the tooltip of the action button.
      Returns:
      the tooltip string which should appear when the user hovers over the action button