Interface Component
- All Known Implementing Classes:
AbstractComponent, AbstractPanel, AbstractWindow, BasicWindow, BorderPanel, Box, Button, GridPanel, Menu, TextArea
public interface Component
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidenable(boolean enabled) voidfocus()getSize()voidhandleInput(String input) voidhandleMouse(org.jline.terminal.MouseEvent event) booleanbooleanbooleanisIn(int x, int y) voidsetPosition(Position position) void
-
Method Details
-
getPosition
Position getPosition() -
setPosition
-
getScreenPosition
Position getScreenPosition() -
isIn
boolean isIn(int x, int y) -
getSize
Size getSize() -
setSize
-
getParent
Container getParent() -
getPreferredSize
Size getPreferredSize() -
isFocused
boolean isFocused() -
isEnabled
boolean isEnabled() -
enable
void enable(boolean enabled) -
focus
void focus() -
draw
-
getBehaviors
EnumSet<Component.Behavior> getBehaviors() -
handleMouse
void handleMouse(org.jline.terminal.MouseEvent event) -
handleInput
-