Class SplitPanel
java.lang.Object
com.googlecode.lanterna.gui2.AbstractComponent<Panel>
com.googlecode.lanterna.gui2.Panel
com.googlecode.lanterna.gui2.SplitPanel
- All Implemented Interfaces:
Component, Container, TextGUIElement
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Panel
Panel.DefaultPanelRenderer -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Componentprivate final Componentprivate booleanprivate doubleprivate final ImageComponent -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSplitPanel(Component a, Component b, boolean isHorizontal) -
Method Summary
Modifier and TypeMethodDescription(package private) ImageComponentstatic SplitPanelofHorizontal(Component left, Component right) static SplitPanelofVertical(Component top, Component bottom) voidsetRatio(int left, int right) Methods inherited from class 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 AbstractComponent
addTo, draw, getBasePane, getGlobalPosition, getLayoutData, getParent, getPosition, getPreferredSize, getRenderer, getSize, getTextGUI, getTheme, getThemeDefinition, hasParent, isInside, isVisible, onAdded, onAfterDrawing, onBeforeDrawing, onRemoved, runOnGUIThreadIfExistsOtherwiseRunDirect, self, setLayoutData, setPosition, setPreferredSize, setRenderer, setSize, setTheme, setVisible, toBasePane, toGlobal, withBorderMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
addTo, getBasePane, getGlobalPosition, getLayoutData, getParent, getPosition, getPreferredSize, getRenderer, getSize, getTextGUI, getTheme, getThemeDefinition, hasParent, isInside, isVisible, onAdded, onRemoved, setLayoutData, setPosition, setPreferredSize, setSize, setTheme, setVisible, toBasePane, toGlobal, withBorderMethods inherited from interface TextGUIElement
draw
-
Field Details
-
compA
-
thumb
-
compB
-
isHorizontal
private boolean isHorizontal -
ratio
private double ratio
-
-
Constructor Details
-
SplitPanel
-
-
Method Details
-
ofHorizontal
-
ofVertical
-
makeThumb
ImageComponent makeThumb() -
setRatio
public void setRatio(int left, int right)
-