Class ViewJColorChooser

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ViewJColorChooser extends JColorChooser
This is a color chooser designed so that the preview panel is not shown.
Version:
0.1 Jun 1, 1999
Author:
Neva Cherniavsky
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Use serialVersionUID for interoperability.
      See Also:
    • colorDialog

      protected JDialog colorDialog
      Main color dialog for display
  • Constructor Details

    • ViewJColorChooser

      public ViewJColorChooser(Component parent, String title, ActionListener OKListener, ActionListener CancelListener)
      Constructor Constructs the color chooser panel and dialog.
      Parameters:
      parent - the array of x coordinates to be plotted in the graph
      title - the title of the frame
      OKListener - class that will respond to the user pressing OK
      CancelListener - class that will respond to the user pressing Cancel
    • ViewJColorChooser

      public ViewJColorChooser(Component parent, String title, ActionListener OKListener, ActionListener CancelListener, boolean setVisible)
      Constructor Constructs the color chooser panel and dialog.
      Parameters:
      parent - the array of x coordinates to be plotted in the graph
      title - the title of the frame
      OKListener - class that will respond to the user pressing OK
      CancelListener - class that will respond to the user pressing Cancel
  • Method Details

    • isDialogVisible

      public boolean isDialogVisible()
      DOCUMENT ME!
      Returns:
      DOCUMENT ME!
    • getColorDialog

      public JDialog getColorDialog()
    • setDialogVisible

      public void setDialogVisible(boolean vis)
      DOCUMENT ME!
      Parameters:
      vis - DOCUMENT ME!