Java 类org.jfree.chart.plot.ColorPalette 实例源码

项目:parabuild-ci    文件:ColorPaletteTests.java   
/**
 * Confirm that the equals method can distinguish all the required fields.
 */
public void testEquals() {
    ColorPalette p1 = new GreyPalette();
    ColorPalette p2 = new GreyPalette();
    assertTrue(p1.equals(p2));
}
项目:nabs    文件:ColorPaletteTests.java   
/**
 * Confirm that the equals method can distinguish all the required fields.
 */
public void testEquals() {
    ColorPalette p1 = new GreyPalette();
    ColorPalette p2 = new GreyPalette();
    assertTrue(p1.equals(p2));
}
项目:parabuild-ci    文件:ColorBar.java   
/**
 * Returns the color palette.
 *
 * @return The color palette.
 */
public ColorPalette getColorPalette() {
    return this.colorPalette;
}
项目:parabuild-ci    文件:ColorBar.java   
/**
 * Sets the color palette.
 *
 * @param palette  the new palette.
 */
public void setColorPalette(ColorPalette palette) {
    this.colorPalette = palette;
}
项目:parabuild-ci    文件:PaletteSample.java   
/**
 * Creates a new sample.
 *
 * @param palette  the palette.
 */
public PaletteSample(ColorPalette palette) {
    this.palette = palette;
    this.preferredSize = new Dimension(80, 18);
}
项目:parabuild-ci    文件:PaletteSample.java   
/**
 * Returns the current palette object being displayed.
 *
 * @return The palette.
 */
public ColorPalette getPalette() {
    return this.palette;
}
项目:parabuild-ci    文件:PaletteSample.java   
/**
 * Sets the palette object being displayed.
 *
 * @param palette  the palette.
 */
public void setPalette(ColorPalette palette) {
    this.palette = palette;
    this.repaint();
}
项目:parabuild-ci    文件:PaletteChooserPanel.java   
/**
 * Returns the selected palette.
 *
 * @return The selected palette.
 */
public ColorPalette getSelectedPalette() {
    PaletteSample sample = (PaletteSample) this.selector.getSelectedItem();
    return sample.getPalette();
}
项目:ccu-historian    文件:ColorBar.java   
/**
 * Returns the color palette.
 *
 * @return The color palette.
 */
public ColorPalette getColorPalette() {
    return this.colorPalette;
}
项目:ccu-historian    文件:ColorBar.java   
/**
 * Sets the color palette.
 *
 * @param palette  the new palette.
 */
public void setColorPalette(ColorPalette palette) {
    this.colorPalette = palette;
}
项目:ccu-historian    文件:PaletteSample.java   
/**
 * Creates a new sample.
 *
 * @param palette  the palette.
 */
public PaletteSample(ColorPalette palette) {
    this.palette = palette;
    this.preferredSize = new Dimension(80, 18);
}
项目:ccu-historian    文件:PaletteSample.java   
/**
 * Returns the current palette object being displayed.
 *
 * @return The palette.
 */
public ColorPalette getPalette() {
    return this.palette;
}
项目:ccu-historian    文件:PaletteSample.java   
/**
 * Sets the palette object being displayed.
 *
 * @param palette  the palette.
 */
public void setPalette(ColorPalette palette) {
    this.palette = palette;
    this.repaint();
}
项目:ccu-historian    文件:PaletteChooserPanel.java   
/**
 * Returns the selected palette.
 *
 * @return The selected palette.
 */
public ColorPalette getSelectedPalette() {
    PaletteSample sample = (PaletteSample) this.selector.getSelectedItem();
    return sample.getPalette();
}
项目:aya-lang    文件:ColorBar.java   
/**
 * Returns the color palette.
 *
 * @return The color palette.
 */
public ColorPalette getColorPalette() {
    return this.colorPalette;
}
项目:aya-lang    文件:ColorBar.java   
/**
 * Sets the color palette.
 *
 * @param palette  the new palette.
 */
public void setColorPalette(ColorPalette palette) {
    this.colorPalette = palette;
}
项目:aya-lang    文件:PaletteSample.java   
/**
 * Creates a new sample.
 *
 * @param palette  the palette.
 */
public PaletteSample(ColorPalette palette) {
    this.palette = palette;
    this.preferredSize = new Dimension(80, 18);
}
项目:aya-lang    文件:PaletteSample.java   
/**
 * Returns the current palette object being displayed.
 *
 * @return The palette.
 */
public ColorPalette getPalette() {
    return this.palette;
}
项目:aya-lang    文件:PaletteSample.java   
/**
 * Sets the palette object being displayed.
 *
 * @param palette  the palette.
 */
public void setPalette(ColorPalette palette) {
    this.palette = palette;
    this.repaint();
}
项目:aya-lang    文件:PaletteChooserPanel.java   
/**
 * Returns the selected palette.
 *
 * @return The selected palette.
 */
public ColorPalette getSelectedPalette() {
    PaletteSample sample = (PaletteSample) this.selector.getSelectedItem();
    return sample.getPalette();
}
项目:HTML5_WebSite    文件:ColorBar.java   
/**
 * Returns the color palette.
 *
 * @return The color palette.
 */
public ColorPalette getColorPalette() {
    return this.colorPalette;
}
项目:HTML5_WebSite    文件:ColorBar.java   
/**
 * Sets the color palette.
 *
 * @param palette  the new palette.
 */
public void setColorPalette(ColorPalette palette) {
    this.colorPalette = palette;
}
项目:HTML5_WebSite    文件:PaletteSample.java   
/**
 * Creates a new sample.
 *
 * @param palette  the palette.
 */
public PaletteSample(ColorPalette palette) {
    this.palette = palette;
    this.preferredSize = new Dimension(80, 18);
}
项目:HTML5_WebSite    文件:PaletteSample.java   
/**
 * Returns the current palette object being displayed.
 *
 * @return The palette.
 */
public ColorPalette getPalette() {
    return this.palette;
}
项目:HTML5_WebSite    文件:PaletteSample.java   
/**
 * Sets the palette object being displayed.
 *
 * @param palette  the palette.
 */
public void setPalette(ColorPalette palette) {
    this.palette = palette;
    this.repaint();
}
项目:HTML5_WebSite    文件:PaletteChooserPanel.java   
/**
 * Returns the selected palette.
 *
 * @return The selected palette.
 */
public ColorPalette getSelectedPalette() {
    PaletteSample sample = (PaletteSample) this.selector.getSelectedItem();
    return sample.getPalette();
}
项目:populus    文件:ColorBar.java   
/**
 * Returns the color palette.
 *
 * @return The color palette.
 */
public ColorPalette getColorPalette() {
    return this.colorPalette;
}
项目:populus    文件:ColorBar.java   
/**
 * Sets the color palette.
 *
 * @param palette  the new palette.
 */
public void setColorPalette(ColorPalette palette) {
    this.colorPalette = palette;
}
项目:populus    文件:PaletteSample.java   
/**
 * Creates a new sample.
 *
 * @param palette  the palette.
 */
public PaletteSample(ColorPalette palette) {
    this.palette = palette;
    this.preferredSize = new Dimension(80, 18);
}
项目:populus    文件:PaletteSample.java   
/**
 * Returns the current palette object being displayed.
 *
 * @return The palette.
 */
public ColorPalette getPalette() {
    return this.palette;
}
项目:populus    文件:PaletteSample.java   
/**
 * Sets the palette object being displayed.
 *
 * @param palette  the palette.
 */
public void setPalette(ColorPalette palette) {
    this.palette = palette;
    this.repaint();
}
项目:populus    文件:PaletteChooserPanel.java   
/**
 * Returns the selected palette.
 *
 * @return The selected palette.
 */
public ColorPalette getSelectedPalette() {
    PaletteSample sample = (PaletteSample) this.selector.getSelectedItem();
    return sample.getPalette();
}
项目:PI    文件:ColorBar.java   
/**
 * Returns the color palette.
 *
 * @return The color palette.
 */
public ColorPalette getColorPalette() {
    return this.colorPalette;
}
项目:PI    文件:ColorBar.java   
/**
 * Sets the color palette.
 *
 * @param palette  the new palette.
 */
public void setColorPalette(ColorPalette palette) {
    this.colorPalette = palette;
}
项目:PI    文件:PaletteSample.java   
/**
 * Creates a new sample.
 *
 * @param palette  the palette.
 */
public PaletteSample(ColorPalette palette) {
    this.palette = palette;
    this.preferredSize = new Dimension(80, 18);
}
项目:PI    文件:PaletteSample.java   
/**
 * Returns the current palette object being displayed.
 *
 * @return The palette.
 */
public ColorPalette getPalette() {
    return this.palette;
}
项目:PI    文件:PaletteSample.java   
/**
 * Sets the palette object being displayed.
 *
 * @param palette  the palette.
 */
public void setPalette(ColorPalette palette) {
    this.palette = palette;
    this.repaint();
}
项目:PI    文件:PaletteChooserPanel.java   
/**
 * Returns the selected palette.
 *
 * @return The selected palette.
 */
public ColorPalette getSelectedPalette() {
    PaletteSample sample = (PaletteSample) this.selector.getSelectedItem();
    return sample.getPalette();
}
项目:nabs    文件:ColorBar.java   
/**
 * Returns the color palette.
 *
 * @return The color palette.
 */
public ColorPalette getColorPalette() {
    return this.colorPalette;
}
项目:nabs    文件:ColorBar.java   
/**
 * Sets the color palette.
 *
 * @param palette  the new palette.
 */
public void setColorPalette(ColorPalette palette) {
    this.colorPalette = palette;
}