Class HBarChart

java.lang.Object
com.googlecode.lanterna.gui2.AbstractComponent<com.googlecode.lanterna.gui2.Panel>
com.googlecode.lanterna.gui2.Panel
net.thevpc.common.lanterna.PanelExt
net.thevpc.common.lanterna.HBarChart
All Implemented Interfaces:
com.googlecode.lanterna.gui2.Component, com.googlecode.lanterna.gui2.Container, com.googlecode.lanterna.gui2.TextGUIElement, ComponentExt, ContainerExt

public class HBarChart extends PanelExt
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.googlecode.lanterna.gui2.Panel

    com.googlecode.lanterna.gui2.Panel.DefaultPanelRenderer
  • Constructor Summary

    Constructors
    Constructor
    Description
    HBarChart(int rows, int columns)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    appendValue(int newValue, String format)
     
    void
     
    void
    setRows(int rows)
     
    void
    setValues(int[] values)
     

    Methods inherited from class com.googlecode.lanterna.gui2.Panel

    addComponent, addComponent, addComponent, calculatePreferredSize, containsComponent, createDefaultRenderer, getChildCount, getChildren, getChildrenList, getFillColorOverride, getLayoutManager, handleInput, invalidate, isInvalid, nextFocus, previousFocus, removeAllComponents, removeComponent, setFillColorOverride, setLayoutManager, updateLookupMap

    Methods inherited from class com.googlecode.lanterna.gui2.AbstractComponent

    addTo, draw, getBasePane, getGlobalPosition, getLayoutData, getParent, getPosition, getPreferredSize, getRenderer, getSize, getTextGUI, getTheme, getThemeDefinition, hasParent, isInside, onAdded, onAfterDrawing, onBeforeDrawing, onRemoved, runOnGUIThreadIfExistsOtherwiseRunDirect, self, setLayoutData, setPosition, setPreferredSize, setRenderer, setSize, setTheme, toBasePane, toGlobal, withBorder

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.googlecode.lanterna.gui2.Component

    addTo, getBasePane, getGlobalPosition, getLayoutData, getParent, getPosition, getPreferredSize, getRenderer, getSize, getTextGUI, getTheme, getThemeDefinition, hasParent, invalidate, isInside, onAdded, onRemoved, setLayoutData, setPosition, setPreferredSize, setSize, setTheme, toBasePane, toGlobal, withBorder

    Methods inherited from interface com.googlecode.lanterna.gui2.Container

    containsComponent, getChildCount, getChildren, getChildrenList, handleInput, nextFocus, previousFocus, removeComponent, updateLookupMap

    Methods inherited from interface com.googlecode.lanterna.gui2.TextGUIElement

    draw, isInvalid
  • Constructor Details

    • HBarChart

      public HBarChart(int rows, int columns)
  • Method Details

    • setRows

      public void setRows(int rows)
    • appendValue

      public void appendValue(int newValue, String format)
    • setValues

      public void setValues(int[] values)
    • reset

      public void reset()