Documentation of 'japlot.jaxodraw.JaxoColorChooser' Java class
JaxoColorChooser
japlot.jaxodraw

Class JaxoColorChooser



  • public class JaxoColorChooser
    extends java.lang.Object
    This class allows to choose a color from a menu. The colors presenteed are those available in the colrdvi LaTex package, plus a set of gray scales.
    • Constructor Summary

      Constructors 
      Constructor and Description
      JaxoColorChooser() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.awt.Color color(java.awt.Color color, boolean fCol)
      Brings up a color chooser menu to select the color of the specified JaObject.
      java.awt.Color color(JaObject selectedObject, boolean fCol)
      Brings up a color chooser menu to select the color of the specified JaObject.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JaxoColorChooser

        public JaxoColorChooser()
    • Method Detail

      • color

        public final java.awt.Color color(JaObject selectedObject,
                                          boolean fCol)
        Brings up a color chooser menu to select the color of the specified JaObject.
        Parameters:
        fCol - True if the color to be chosen is a fill color, false otherwise.
        selectedObject - The JaObject whose color is to be chosen.
        Returns:
        The chosen color if the OK option is selected, if the CANCEL option is selected, the color of the selectedObject.
      • color

        public final java.awt.Color color(java.awt.Color color,
                                          boolean fCol)
        Brings up a color chooser menu to select the color of the specified JaObject.
        Parameters:
        fCol - True if the color to be chosen is a fill color, false otherwise.
        color - The color to be returned if the CANCEL option is chosen in the color chooser dialog.
        Returns:
        The chosen color if the OK option is selected, the color color, if the CANCEL option is selected.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.