congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
org.sing_group.gc4s.visualization
Code IndexAdd Tabnine to your IDE (free)

How to use org.sing_group.gc4s.visualization

Best Java code snippets using org.sing_group.gc4s.visualization (Showing top 20 results out of 315)

origin: sing-group/GC4S

  public static void main(String[] args) {
    ColorKeyLegend colorKeyPanel = new ColorKeyLegend(GREEN, RED, 0d, 100d);
    showComponent(colorKeyPanel, "ColorKeyLegend demo");
  }
}
origin: sing-group/GC4S

/**
 * Shows a {@code JFrame} containing the specified {@code component} and 
 * frame extended {@code state}.
 * 
 * @param component the {@code Component} to show
 * @param state the extended state of the frame
 */
public static final void showComponent(Component component, int state) {
  showComponent(component, "", state);
}
origin: sing-group/GC4S

/**
 * Creates a new {@code ColorLegend} with the specified colors and
 * orientation.
 * 
 * @param colors the map of labels and colors.
 * @param orientation the {@code Orientation} of the legend.
 */
public ColorLegend(Map<String, Color> colors, Orientation orientation) {
  this.colors = colors;
  this.orientation = orientation;
  this.init();
}
origin: sing-group/GC4S

public static void main(String[] args) {
  ColorLegend colorLegend = new ColorLegend(getColors(), VERTICAL);
  showComponent(
    createPanelAndCenterComponent(colorLegend),
    "ColorLegend demo"
  );
}
origin: sing-group/GC4S

private void init() {
  this.setMinimumSize(SIZE);
  this.setPreferredSize(SIZE);
  this.setSize(SIZE);
}
origin: sing-group/GC4S

/**
 * Establishes the high color of the gradient.
 *
 * @param color the high color of the gradient
 */
public void setHighColor(Color color) {
  this.highColor = color;
  this.colorKey.setHighColor(color);
  this.initializeColors();
}
origin: sing-group/GC4S

/**
 * Sets the low color of the gradient.
 * 
 * @param color the low color of the gradient.
 */
public void setLowColor(Color color) {
  this.lowColor = color;	
  this.repaint();
}

origin: sing-group/GC4S

private String getLowValue() {
  return format(this.low);
}

origin: sing-group/GC4S

/**
 * Sets the value of the property {@code Nimbus.keepAlternateRowColor} in
 * {@code UIManager} to {@code true}.
 * 
 */
public static void setNimbusKeepAlternateRowColor() {
  setNimbusKeepAlternateRowColor(Boolean.TRUE);
}
origin: sing-group/GC4S

/**
 * Sets the decimal format.
 *
 * @param decimalFormat the decimal format
 */
public void setDecimalFormat(DecimalFormat decimalFormat) {
  this.decimalFormat = decimalFormat;
  this.colorKey.setDecimalFormat(decimalFormat);
}
origin: sing-group/GC4S

private boolean isHorizontal() {
  return this.orientation.equals(Orientation.HORIZONTAL);
}
origin: sing-group/GC4S

/**
 * Shows a {@code JFrame} containing the specified {@code component}.
 * 
 * @param component the {@code Component} to show
 */
public static final void showComponent(Component component) {
  showComponent(component, "");
}
origin: sing-group/GC4S

/**
 * Sets the low high of the gradient.
 * 
 * @param color the high color of the gradient.
 */
public void setHighColor(Color color) {
  this.highColor = color;
  this.repaint();
}
origin: sing-group/GC4S

private String getMiddle(){
  return format((low + high) / 2);
}
origin: sing-group/GC4S

public static void main(String[] args) {
  showComponent(
    createJOptionPaneMessageDemooComponent(),
    "JOptionPaneMessage demo");
}
origin: sing-group/GC4S

/**
 * Sets the low value of the gradient.
 * 
 * @param low the low value of the gradient.
 */
public void setLowValue(double low) {
  this.low = low;
  this.repaint();
}

origin: sing-group/GC4S

private String getHighValue() {
  return format(this.high);
}

origin: sing-group/GC4S

  public static void main(String[] args) {
    JInputList inputList = new JInputList();
    inputList.setElementIntroductionEnabled(true);
    showComponent(inputList, "JInputList demo");
  }
}
origin: sing-group/GC4S

/**
 * Sets the high value of the gradient.
 * 
 * @param high the low value of the gradient.
 */
public void setHighValue(double high) {
  this.high = high;
  this.repaint();
}
origin: sing-group/GC4S

/**
 * Sets the decimal format to format gradient values.
 * 
 * @param decimalFormat the decimal format to format gradient values.
 */
public void setDecimalFormat(DecimalFormat decimalFormat) {
  this.decimalFormat = decimalFormat;
  this.repaint();
}

org.sing_group.gc4s.visualization

Most used classes

  • VisualizationUtils
    Utility methods for showing components.
  • ColorKeyLegend
    This component draws a color key map between two colors.
  • CsvTable
    An extension of JXTable to display CSV data.
  • ColorLegend
    A ColorLegend is a graphical component that shows a legend of colors and labels.
  • JHeatMap
    A JHeatMap provides a heatmap representation for a doublematrix. Gradient colors can be changed b
  • JHeatMapPanel,
  • BeanTableModel,
  • ColumnSummaryTabeCellRenderer,
  • ExtendedJXTable,
  • FilterableJXTable,
  • RowHeaderExtendedJXTable,
  • ColorLegend$Orientation,
  • JHeatMap$1,
  • JHeatMap$CellValue,
  • JHeatMap$CustomTableCellRenderer,
  • JHeatMap$HeatMapTableModel,
  • JHeatMap$TestRowFilter,
  • JHeatMapDataOperationsDialog,
  • JHeatMapOperations$Centering
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now