Component
, Container
, TextGUIElement
public class SplitPanel extends Panel
Panel.DefaultPanelRenderer
Modifier | Constructor | Description |
---|---|---|
protected |
SplitPanel(Component a,
Component b,
boolean isHorizontal) |
Modifier and Type | Method | Description |
---|---|---|
static SplitPanel |
ofHorizontal(Component left,
Component right) |
|
static SplitPanel |
ofVertical(Component top,
Component bottom) |
|
void |
setRatio(int left,
int right) |
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, withBorder
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, withBorder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addComponent, addComponent, addComponent, calculatePreferredSize, containsComponent, createDefaultRenderer, getChildCount, getChildren, getChildrenList, getFillColorOverride, getLayoutManager, handleInput, invalidate, isInvalid, nextFocus, previousFocus, removeAllComponents, removeComponent, setFillColorOverride, setLayoutManager, updateLookupMap
draw
public static SplitPanel ofHorizontal(Component left, Component right)
public static SplitPanel ofVertical(Component top, Component bottom)
public void setRatio(int left, int right)
Copyright © 2020. All rights reserved.