Class BaseColorChooser

    • Field Detail

      • m_PanelColorChooser

        protected JColorChooser m_PanelColorChooser
        the color chooser panel.
    • Constructor Detail

      • BaseColorChooser

        public BaseColorChooser​(Dialog owner)
        Creates a modeless dialog without a title with the specified Dialog as its owner.
        Parameters:
        owner - the owning dialog
      • BaseColorChooser

        public BaseColorChooser​(Dialog owner,
                                Dialog.ModalityType modality)
        Creates a dialog with the specified owner Dialog and modality.
        Parameters:
        owner - the owning dialog
        modality - the type of modality
      • BaseColorChooser

        public BaseColorChooser​(Dialog owner,
                                String title)
        Creates a modeless dialog with the specified title and with the specified owner dialog.
        Parameters:
        owner - the owning dialog
        title - the title of the dialog
      • BaseColorChooser

        public BaseColorChooser​(Dialog owner,
                                String title,
                                Dialog.ModalityType modality)
        Creates a dialog with the specified title, modality and the specified owner Dialog.
        Parameters:
        owner - the owning dialog
        title - the title of the dialog
        modality - the type of modality
      • BaseColorChooser

        public BaseColorChooser​(Frame owner)
        Creates a modeless dialog without a title with the specified Frame as its owner.
        Parameters:
        owner - the owning frame
      • BaseColorChooser

        public BaseColorChooser​(Frame owner,
                                boolean modal)
        Creates a dialog with the specified owner Frame, modality and an empty title.
        Parameters:
        owner - the owning frame
        modal - whether the dialog is modal or not
      • BaseColorChooser

        public BaseColorChooser​(Frame owner,
                                String title)
        Creates a modeless dialog with the specified title and with the specified owner frame.
        Parameters:
        owner - the owning frame
        title - the title of the dialog
      • BaseColorChooser

        public BaseColorChooser​(Frame owner,
                                String title,
                                boolean modal)
        Creates a dialog with the specified owner Frame, modality and title.
        Parameters:
        owner - the owning frame
        title - the title of the dialog
        modal - whether the dialog is modal or not
    • Method Detail

      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class ApprovalDialog
      • setColor

        public void setColor​(Color value)
        Sets the color.
      • getColor

        public Color getColor()
        Returns the color.
        Returns:
        the color