Package org.jline.curses
Interface Component
- All Known Implementing Classes:
AbstractComponent
,AbstractPanel
,AbstractWindow
,BasicWindow
,BorderPanel
,Box
,Button
,GridPanel
,Menu
,Menu.MenuWindow
,TextArea
public interface Component
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
enable
(boolean enabled) void
focus()
getSize()
void
handleInput
(String input) void
handleMouse
(MouseEvent event) boolean
boolean
boolean
isIn
(int x, int y) void
setPosition
(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
-
handleInput
-