Class FlowPanelNotificationArea

    • Constructor Detail

      • FlowPanelNotificationArea

        public FlowPanelNotificationArea()
    • Method Detail

      • initialize

        protected void initialize()
        Initializes the members.
        Overrides:
        initialize in class BasePanel
      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class BasePanel
      • setOwner

        public void setOwner​(FlowWorkerHandler value)
        Sets the owning panel.
        Parameters:
        value - the owner
      • getOwner

        public FlowWorkerHandler getOwner()
        Returns the current owner.
        Returns:
        the owner, null if none set
      • addCloseListener

        public void addCloseListener​(ActionListener l)
        Adds the listener to the list of listeners waiting for the "Close" button to be pressed.
        Parameters:
        l - the listener to add
      • removeCloseListener

        public void removeCloseListener​(ActionListener l)
        Removes the listener from the list of listeners waiting for the "Close" button to be pressed.
        Parameters:
        l - the listener to remove
      • notifyCloseListeners

        public void notifyCloseListeners()
        Notifies all the listeners that the close button was pressed.
      • update

        protected void update()
        Updates the notification area.
      • clearNotification

        public void clearNotification()
        Removes the notification.
      • getContent

        public String getContent()
        Returns the textual content of the notification area.
        Returns:
        the text
      • printText

        public void printText()
        Pops up a print dialog.
      • displayIcon

        public static void displayIcon​(FlowWorkerHandler handler,
                                       String icon)
        Displays the icon.
        Parameters:
        handler - the handler to display the icon with
        icon - the name of the icon to display
      • clearIcon

        public static void clearIcon​(FlowWorkerHandler handler)
        Clears any icon.
        Parameters:
        handler - the handler to display the icon with