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
-
Nested Class Summary
Nested classes/interfaces inherited from class com.googlecode.lanterna.gui2.Panel
com.googlecode.lanterna.gui2.Panel.DefaultPanelRenderer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendValue(int newValue, String format) voidreset()voidsetRows(int rows) voidsetValues(int[] values) Methods inherited from class PanelExt
getComponentOrientation, getMinimumSize, isVisible, setComponentOrientation, setVisibleMethods 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, updateLookupMapMethods 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, withBorderMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, withBorderMethods inherited from interface com.googlecode.lanterna.gui2.Container
containsComponent, getChildCount, getChildren, getChildrenList, handleInput, nextFocus, previousFocus, removeComponent, updateLookupMapMethods 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
-
setValues
public void setValues(int[] values) -
reset
public void reset()
-