Class Notification

    • Field Detail

      • LAYER

        public static final Integer LAYER
    • Constructor Detail

      • Notification

        public Notification()
    • Method Detail

      • setClickListener

        public void setClickListener​(ActionListener clickListener)
      • addActionListener

        public void addActionListener​(ActionListener listener)
      • addOtherListener

        public void addOtherListener​(ActionListener listener)
      • setTitle

        public void setTitle​(String title)
      • setSubtitle

        public void setSubtitle​(String subtitle)
      • setInformativeText

        public void setInformativeText​(String text)
      • getTitle

        public String getTitle()
      • getSubtitle

        public String getSubtitle()
      • getInformativeText

        public String getInformativeText()
      • setHasActionButton

        public void setHasActionButton​(boolean hasButton)
      • getHasActionButton

        public boolean getHasActionButton()
      • setActionButtonTitle

        public void setActionButtonTitle​(String title)
      • getActionButtonTitle

        public String getActionButtonTitle()
      • setOtherButtonTitle

        public void setOtherButtonTitle​(String title)
      • getOtherButtonTitle

        public String getOtherButtonTitle()
      • setIcon

        public void setIcon​(Icon icon)
      • getIcon

        public Icon getIcon()
      • isUseFrameIcon

        public boolean isUseFrameIcon()
      • setUseFrameIcon

        public void setUseFrameIcon​(boolean useFrameIcon)
      • post

        public void post​(JFrame frame)
        Immediately shows the notification in the given frame.
        frame - frame
      • setVisible

        public void setVisible​(boolean visible)
        setVisible in class JComponent