Modifier and Type | Field | Description |
---|---|---|
static TerminalPosition |
TerminalPosition.OFFSET_1x1 |
Constant for the 1x1 position (one offset in both directions from top-left)
|
static TerminalPosition |
TerminalPosition.TOP_LEFT_CORNER |
Constant for the top-left corner (0x0)
|
Modifier and Type | Method | Description |
---|---|---|
TerminalPosition |
TerminalPosition.with(TerminalPosition position) |
Returns itself if it is equal to the supplied position, otherwise the supplied position.
|
TerminalPosition |
TerminalPosition.withColumn(int column) |
Creates a new TerminalPosition object representing a position with the same row index as this but with a
supplied column index.
|
TerminalPosition |
TerminalPosition.withRelative(int deltaColumn,
int deltaRow) |
Creates a new TerminalPosition object that is 'translated' by an amount of rows and columns specified by the two
parameters.
|
TerminalPosition |
TerminalPosition.withRelative(TerminalPosition translate) |
Creates a new TerminalPosition object that is 'translated' by an amount of rows and columns specified by another
TerminalPosition.
|
TerminalPosition |
TerminalPosition.withRelativeColumn(int delta) |
Creates a new TerminalPosition object representing a position on the same row, but with a column offset by a
supplied value.
|
TerminalPosition |
TerminalPosition.withRelativeRow(int delta) |
Creates a new TerminalPosition object representing a position on the same column, but with a row offset by a
supplied value.
|
TerminalPosition |
TerminalPosition.withRow(int row) |
Creates a new TerminalPosition object representing a position with the same column index as this but with a
supplied row index.
|
Modifier and Type | Method | Description |
---|---|---|
int |
TerminalPosition.compareTo(TerminalPosition o) |
|
TerminalPosition |
TerminalPosition.with(TerminalPosition position) |
Returns itself if it is equal to the supplied position, otherwise the supplied position.
|
TerminalPosition |
TerminalPosition.withRelative(TerminalPosition translate) |
Creates a new TerminalPosition object that is 'translated' by an amount of rows and columns specified by another
TerminalPosition.
|
Modifier and Type | Method | Description |
---|---|---|
TerminalPosition |
TextGraphicsWriter.getCursorPosition() |
Modifier and Type | Method | Description |
---|---|---|
TextGraphics |
AbstractTextGraphics.drawImage(TerminalPosition topLeft,
TextImage image) |
|
TextGraphics |
AbstractTextGraphics.drawImage(TerminalPosition topLeft,
TextImage image,
TerminalPosition sourceImageTopLeft,
TerminalSize sourceImageSize) |
|
TextGraphics |
TextGraphics.drawImage(TerminalPosition topLeft,
TextImage image) |
Takes a TextImage and draws it on the surface this TextGraphics is targeting, given the coordinates on the target
that is specifying where the top-left corner of the image should be drawn.
|
TextGraphics |
TextGraphics.drawImage(TerminalPosition topLeft,
TextImage image,
TerminalPosition sourceImageTopLeft,
TerminalSize sourceImageSize) |
Takes a TextImage and draws it on the surface this TextGraphics is targeting, given the coordinates on the target
that is specifying where the top-left corner of the image should be drawn.
|
TextGraphics |
AbstractTextGraphics.drawLine(TerminalPosition fromPosition,
TerminalPosition toPoint,
char character) |
|
TextGraphics |
AbstractTextGraphics.drawLine(TerminalPosition fromPoint,
TerminalPosition toPoint,
TextCharacter character) |
|
TextGraphics |
TextGraphics.drawLine(TerminalPosition fromPoint,
TerminalPosition toPoint,
char character) |
Draws a line from a specified position to a specified position, using a supplied character.
|
TextGraphics |
TextGraphics.drawLine(TerminalPosition fromPoint,
TerminalPosition toPoint,
TextCharacter character) |
Draws a line from a specified position to a specified position, using a supplied TextCharacter.
|
TextGraphics |
AbstractTextGraphics.drawRectangle(TerminalPosition topLeft,
TerminalSize size,
char character) |
|
TextGraphics |
AbstractTextGraphics.drawRectangle(TerminalPosition topLeft,
TerminalSize size,
TextCharacter character) |
|
TextGraphics |
TextGraphics.drawRectangle(TerminalPosition topLeft,
TerminalSize size,
char character) |
Draws the outline of a rectangle with a particular character (and the currently active colors and
modifiers).
|
TextGraphics |
TextGraphics.drawRectangle(TerminalPosition topLeft,
TerminalSize size,
TextCharacter character) |
Draws the outline of a rectangle with a particular TextCharacter, ignoring the current colors and modifiers of
this TextGraphics.
|
TextGraphics |
AbstractTextGraphics.drawTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
char character) |
|
TextGraphics |
AbstractTextGraphics.drawTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
TextCharacter character) |
|
TextGraphics |
TextGraphics.drawTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
char character) |
Draws the outline of a triangle on the screen, using a supplied character.
|
TextGraphics |
TextGraphics.drawTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
TextCharacter character) |
Draws the outline of a triangle on the screen, using a supplied character.
|
TextGraphics |
AbstractTextGraphics.fillRectangle(TerminalPosition topLeft,
TerminalSize size,
char character) |
|
TextGraphics |
AbstractTextGraphics.fillRectangle(TerminalPosition topLeft,
TerminalSize size,
TextCharacter character) |
|
TextGraphics |
TextGraphics.fillRectangle(TerminalPosition topLeft,
TerminalSize size,
char character) |
Takes a rectangle and fills it with a particular character (and the currently active colors and
modifiers).
|
TextGraphics |
TextGraphics.fillRectangle(TerminalPosition topLeft,
TerminalSize size,
TextCharacter character) |
Takes a rectangle and fills it using a particular TextCharacter, ignoring the current colors and modifiers of
this TextGraphics.
|
TextGraphics |
AbstractTextGraphics.fillTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
char character) |
|
TextGraphics |
AbstractTextGraphics.fillTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
TextCharacter character) |
|
TextGraphics |
TextGraphics.fillTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
char character) |
Draws a filled triangle, using a supplied character.
|
TextGraphics |
TextGraphics.fillTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
TextCharacter character) |
Draws a filled triangle, using a supplied character.
|
TextCharacter |
AbstractTextGraphics.getCharacter(TerminalPosition position) |
|
TextCharacter |
TextGraphics.getCharacter(TerminalPosition position) |
Returns the character at the specific position in the terminal.
|
TextCharacter |
BasicTextImage.getCharacterAt(TerminalPosition position) |
|
TextCharacter |
TextImage.getCharacterAt(TerminalPosition position) |
Returns the character stored at a particular position in this image
|
TextGraphics |
AbstractTextGraphics.newTextGraphics(TerminalPosition topLeftCorner,
TerminalSize size) |
|
TextGraphics |
TextGraphics.newTextGraphics(TerminalPosition topLeftCorner,
TerminalSize size) |
Creates a new TextGraphics of the same type as this one, using the same underlying subsystem.
|
TextGraphics |
AbstractTextGraphics.putCSIStyledString(TerminalPosition position,
String string) |
|
TextGraphics |
TextGraphics.putCSIStyledString(TerminalPosition position,
String string) |
Puts a string on the screen at the specified position with the current colors and modifiers.
|
TextGraphics |
AbstractTextGraphics.putString(TerminalPosition position,
String string) |
|
TextGraphics |
AbstractTextGraphics.putString(TerminalPosition position,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers) |
|
TextGraphics |
TextGraphics.putString(TerminalPosition position,
String string) |
Shortcut to calling:
|
TextGraphics |
TextGraphics.putString(TerminalPosition position,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers) |
Shortcut to calling:
|
TextGraphics |
AbstractTextGraphics.setCharacter(TerminalPosition position,
char character) |
|
TextGraphics |
AbstractTextGraphics.setCharacter(TerminalPosition position,
TextCharacter textCharacter) |
|
TextGraphics |
TextGraphics.setCharacter(TerminalPosition position,
char character) |
Sets the character at the current position to the specified value
|
TextGraphics |
TextGraphics.setCharacter(TerminalPosition position,
TextCharacter character) |
Sets the character at the current position to the specified value, without using the current colors and modifiers
of this TextGraphics.
|
void |
BasicTextImage.setCharacterAt(TerminalPosition position,
TextCharacter character) |
|
void |
TextImage.setCharacterAt(TerminalPosition position,
TextCharacter character) |
Sets the character at a specific position in the image to a particular TextCharacter.
|
void |
TextGraphicsWriter.setCursorPosition(TerminalPosition cursorPosition) |
Modifier and Type | Method | Description |
---|---|---|
TerminalPosition |
AbstractWindow.fromGlobal(TerminalPosition globalPosition) |
|
TerminalPosition |
BasePane.fromGlobal(TerminalPosition position) |
Returns a position expressed in global coordinates, i.e. row and column offset from the top-left corner of the
terminal into a position relative to the top-left corner of the base pane.
|
TerminalPosition |
Window.fromGlobal(TerminalPosition position) |
Returns a position expressed in global coordinates, i.e. row and column offset from the top-left corner of the
terminal into a position relative to the top-left corner of the window.
|
TerminalPosition |
TextBox.getCaretPosition() |
Returns the position of the caret, as a
TerminalPosition where the row and columns equals the coordinates
in a multi-line TextBox and for single-line TextBox you can ignore the row component. |
TerminalPosition |
AbstractInteractableComponent.getCursorLocation() |
|
TerminalPosition |
AbstractListBox.DefaultListBoxRenderer.getCursorLocation(T listBox) |
|
TerminalPosition |
ActionListBox.getCursorLocation() |
|
TerminalPosition |
Button.BorderedButtonRenderer.getCursorLocation(Button component) |
|
TerminalPosition |
Button.DefaultButtonRenderer.getCursorLocation(Button button) |
|
TerminalPosition |
Button.FlatButtonRenderer.getCursorLocation(Button component) |
|
TerminalPosition |
Button.getCursorLocation() |
|
TerminalPosition |
CheckBox.DefaultCheckBoxRenderer.getCursorLocation(CheckBox component) |
|
TerminalPosition |
ComboBox.DefaultComboBoxRenderer.getCursorLocation(ComboBox<V> comboBox) |
|
TerminalPosition |
Interactable.getCursorLocation() |
Returns, in local coordinates, where to put the cursor on the screen when this component has focus.
|
TerminalPosition |
InteractableRenderer.getCursorLocation(T component) |
|
TerminalPosition |
TextBox.DefaultTextBoxRenderer.getCursorLocation(TextBox component) |
|
TerminalPosition |
AbstractBasePane.getCursorPosition() |
|
protected abstract TerminalPosition |
AbstractTextGUI.getCursorPosition() |
Top-level method for drilling in to the GUI and figuring out, in global coordinates, where to place the text
cursor on the screen at this time.
|
TerminalPosition |
BasePane.getCursorPosition() |
Returns the position of where to put the terminal cursor according to this root container.
|
TerminalPosition |
MultiWindowTextGUI.getCursorPosition() |
|
TerminalPosition |
Window.getCursorPosition() |
Returns the position of where to put the terminal cursor according to this window.
|
TerminalPosition |
DefaultWindowDecorationRenderer.getOffset(Window window) |
|
TerminalPosition |
EmptyWindowDecorationRenderer.getOffset(Window window) |
|
TerminalPosition |
FatWindowDecorationRenderer.getOffset(Window window) |
|
TerminalPosition |
WindowDecorationRenderer.getOffset(Window window) |
Returns how much to step right and down from the top left position of the window decorations to the top left
position of the actual window
|
TerminalPosition |
AbstractComponent.getPosition() |
|
TerminalPosition |
AbstractWindow.getPosition() |
|
TerminalPosition |
Component.getPosition() |
Returns the top-left corner of this component, measured from its parent.
|
TerminalPosition |
Window.getPosition() |
Returns the position of the window, as last specified by the window manager.
|
TerminalPosition |
TextBox.DefaultTextBoxRenderer.getViewTopLeft() |
|
TerminalPosition |
TextBox.TextBoxRenderer.getViewTopLeft() |
|
TerminalPosition |
Border.BorderRenderer.getWrappedComponentTopLeftOffset() |
How large is the offset from the top left corner of the border to the top left corner of the wrapped component?
|
TerminalPosition |
AbstractBasePane.ContentHolder.toBasePane(TerminalPosition position) |
|
TerminalPosition |
AbstractBorder.toBasePane(TerminalPosition position) |
|
TerminalPosition |
AbstractComponent.toBasePane(TerminalPosition position) |
|
TerminalPosition |
Component.toBasePane(TerminalPosition position) |
Translates a position local to the container to the base pane's coordinate space.
|
TerminalPosition |
AbstractBasePane.ContentHolder.toGlobal(TerminalPosition position) |
|
TerminalPosition |
AbstractBorder.toGlobal(TerminalPosition position) |
|
TerminalPosition |
AbstractComponent.toGlobal(TerminalPosition position) |
|
TerminalPosition |
AbstractWindow.toGlobal(TerminalPosition localPosition) |
|
TerminalPosition |
BasePane.toGlobal(TerminalPosition localPosition) |
Returns a position in a root container's local coordinate space to global coordinates
|
TerminalPosition |
Component.toGlobal(TerminalPosition position) |
Translates a position local to the container to global coordinate space.
|
TerminalPosition |
Window.toGlobal(TerminalPosition localPosition) |
Returns a position in the window's local coordinate space to global coordinates
|
Modifier and Type | Method | Description |
---|---|---|
TextGraphics |
TextGUIGraphics.drawImage(TerminalPosition topLeft,
TextImage image) |
|
TextGraphics |
TextGUIGraphics.drawImage(TerminalPosition topLeft,
TextImage image,
TerminalPosition sourceImageTopLeft,
TerminalSize sourceImageSize) |
|
TextGraphics |
TextGUIGraphics.drawLine(TerminalPosition fromPoint,
TerminalPosition toPoint,
char character) |
|
TextGraphics |
TextGUIGraphics.drawLine(TerminalPosition fromPoint,
TerminalPosition toPoint,
TextCharacter character) |
|
TextGraphics |
TextGUIGraphics.drawRectangle(TerminalPosition topLeft,
TerminalSize size,
char character) |
|
TextGraphics |
TextGUIGraphics.drawRectangle(TerminalPosition topLeft,
TerminalSize size,
TextCharacter character) |
|
TextGraphics |
TextGUIGraphics.drawTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
char character) |
|
TextGraphics |
TextGUIGraphics.drawTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
TextCharacter character) |
|
TextGraphics |
TextGUIGraphics.fillRectangle(TerminalPosition topLeft,
TerminalSize size,
char character) |
|
TextGraphics |
TextGUIGraphics.fillRectangle(TerminalPosition topLeft,
TerminalSize size,
TextCharacter character) |
|
TextGraphics |
TextGUIGraphics.fillTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
char character) |
|
TextGraphics |
TextGUIGraphics.fillTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
TextCharacter character) |
|
TerminalPosition |
AbstractWindow.fromGlobal(TerminalPosition globalPosition) |
|
TerminalPosition |
BasePane.fromGlobal(TerminalPosition position) |
Returns a position expressed in global coordinates, i.e. row and column offset from the top-left corner of the
terminal into a position relative to the top-left corner of the base pane.
|
TerminalPosition |
Window.fromGlobal(TerminalPosition position) |
Returns a position expressed in global coordinates, i.e. row and column offset from the top-left corner of the
terminal into a position relative to the top-left corner of the window.
|
TextCharacter |
TextGUIGraphics.getCharacter(TerminalPosition position) |
|
Interactable |
InteractableLookupMap.getInteractableAt(TerminalPosition position) |
Looks up what interactable component is as a particular location in the map
|
TextGUIGraphics |
TextGUIGraphics.newTextGraphics(TerminalPosition topLeftCorner,
TerminalSize size) |
|
void |
WindowListener.onMoved(Window window,
TerminalPosition oldPosition,
TerminalPosition newPosition) |
Called whenever the window's position has changed, no matter if it was done by the window manager or the user
|
void |
WindowListenerAdapter.onMoved(Window window,
TerminalPosition oldPosition,
TerminalPosition newPosition) |
|
TextGraphics |
TextGUIGraphics.putCSIStyledString(TerminalPosition position,
String string) |
|
TextGUIGraphics |
TextGUIGraphics.putString(TerminalPosition position,
String string) |
|
TextGUIGraphics |
TextGUIGraphics.putString(TerminalPosition position,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers) |
|
TextGraphics |
TextGUIGraphics.setCharacter(TerminalPosition position,
char character) |
|
TextGraphics |
TextGUIGraphics.setCharacter(TerminalPosition position,
TextCharacter character) |
|
void |
AbstractWindow.setContentOffset(TerminalPosition offset) |
|
void |
Window.setContentOffset(TerminalPosition offset) |
This method is called by the GUI system to update the window on, as of the last drawing operation, the distance
from the top-left position of the window including decorations to the top-left position of the actual content
area.
|
T |
AbstractComponent.setPosition(TerminalPosition position) |
|
void |
AbstractWindow.setPosition(TerminalPosition topLeft) |
|
Component |
Component.setPosition(TerminalPosition position) |
This method will be called by the layout manager when it has decided where the component is to be located.
|
void |
Window.setPosition(TerminalPosition topLeft) |
This method is called by the GUI system to update the window on where the window manager placed it.
|
void |
TextBox.DefaultTextBoxRenderer.setViewTopLeft(TerminalPosition position) |
|
void |
TextBox.TextBoxRenderer.setViewTopLeft(TerminalPosition position) |
|
TerminalPosition |
AbstractBasePane.ContentHolder.toBasePane(TerminalPosition position) |
|
TerminalPosition |
AbstractBorder.toBasePane(TerminalPosition position) |
|
TerminalPosition |
AbstractComponent.toBasePane(TerminalPosition position) |
|
TerminalPosition |
Component.toBasePane(TerminalPosition position) |
Translates a position local to the container to the base pane's coordinate space.
|
TerminalPosition |
AbstractBasePane.ContentHolder.toGlobal(TerminalPosition position) |
|
TerminalPosition |
AbstractBorder.toGlobal(TerminalPosition position) |
|
TerminalPosition |
AbstractComponent.toGlobal(TerminalPosition position) |
|
TerminalPosition |
AbstractWindow.toGlobal(TerminalPosition localPosition) |
|
TerminalPosition |
BasePane.toGlobal(TerminalPosition localPosition) |
Returns a position in a root container's local coordinate space to global coordinates
|
TerminalPosition |
Component.toGlobal(TerminalPosition position) |
Translates a position local to the container to global coordinate space.
|
TerminalPosition |
Window.toGlobal(TerminalPosition localPosition) |
Returns a position in the window's local coordinate space to global coordinates
|
Modifier and Type | Method | Description |
---|---|---|
TerminalPosition |
DefaultTableRenderer.getCursorLocation(Table<V> component) |
Modifier and Type | Method | Description |
---|---|---|
TerminalPosition |
MouseAction.getPosition() |
The location of the mouse cursor when this event was generated.
|
TerminalPosition |
ScreenInfoAction.getPosition() |
The location of the mouse cursor when this event was generated.
|
Constructor | Description |
---|---|
MouseAction(MouseActionType actionType,
int button,
TerminalPosition position) |
Constructs a MouseAction based on an action type, a button and a location on the screen
|
ScreenInfoAction(TerminalPosition position) |
Constructs a ScreenInfoAction based on a location on the screen
|
Modifier and Type | Method | Description |
---|---|---|
TerminalPosition |
AbstractScreen.getCursorPosition() |
|
TerminalPosition |
Screen.getCursorPosition() |
A screen implementation typically keeps a location on the screen where the cursor will be placed after drawing
and refreshing the buffers, this method returns that location.
|
TerminalPosition |
VirtualScreen.FrameRenderer.getViewportOffset() |
Where in the virtual screen should the top-left position of the viewport be?
|
Modifier and Type | Method | Description |
---|---|---|
void |
VirtualScreen.FrameRenderer.drawFrame(TextGraphics graphics,
TerminalSize realSize,
TerminalSize virtualSize,
TerminalPosition virtualScrollPosition) |
Drawn the 'frame', meaning anything that is outside the viewport (title, scrollbar, etc)
|
TextCharacter |
AbstractScreen.getBackCharacter(TerminalPosition position) |
|
TextCharacter |
Screen.getBackCharacter(TerminalPosition position) |
Reads a character and its associated meta-data from the back-buffer and returns it encapsulated as a
ScreenCharacter.
|
TextCharacter |
ScreenBuffer.getCharacterAt(TerminalPosition position) |
|
TextCharacter |
AbstractScreen.getFrontCharacter(TerminalPosition position) |
|
TextCharacter |
Screen.getFrontCharacter(TerminalPosition position) |
Reads a character and its associated meta-data from the front-buffer and returns it encapsulated as a
ScreenCharacter.
|
TextCharacter |
VirtualScreen.getFrontCharacter(TerminalPosition position) |
|
void |
AbstractScreen.setCharacter(TerminalPosition position,
TextCharacter screenCharacter) |
|
void |
Screen.setCharacter(TerminalPosition position,
TextCharacter screenCharacter) |
Sets a character in the back-buffer to a specified value with specified colors and modifiers.
|
void |
ScreenBuffer.setCharacterAt(TerminalPosition position,
TextCharacter character) |
|
void |
AbstractScreen.setCursorPosition(TerminalPosition position) |
Moves the current cursor position or hides it.
|
void |
Screen.setCursorPosition(TerminalPosition position) |
A screen implementation typically keeps a location on the screen where the cursor will be placed after drawing
and refreshing the buffers, this method controls that location.
|
void |
VirtualScreen.setCursorPosition(TerminalPosition position) |
|
void |
VirtualScreen.setViewportTopLeft(TerminalPosition position) |
Modifier and Type | Method | Description |
---|---|---|
TerminalPosition |
IOSafeTerminal.getCursorPosition() |
|
TerminalPosition |
IOSafeTerminalAdapter.getCursorPosition() |
|
TerminalPosition |
Terminal.getCursorPosition() |
Returns the position of the cursor, as reported by the terminal.
|
Modifier and Type | Method | Description |
---|---|---|
void |
IOSafeTerminal.setCursorPosition(TerminalPosition position) |
|
void |
IOSafeTerminalAdapter.setCursorPosition(TerminalPosition position) |
|
void |
Terminal.setCursorPosition(TerminalPosition position) |
Same as calling
setCursorPosition(position.getColumn(), position.getRow()) |
Modifier and Type | Method | Description |
---|---|---|
TerminalPosition |
ANSITerminal.getCursorPosition() |
Modifier and Type | Method | Description |
---|---|---|
void |
ANSITerminal.setCursorPosition(TerminalPosition position) |
Modifier and Type | Method | Description |
---|---|---|
TerminalPosition |
AWTTerminal.getCursorPosition() |
|
TerminalPosition |
AWTTerminalFrame.getCursorPosition() |
|
TerminalPosition |
ScrollingAWTTerminal.getCursorPosition() |
|
TerminalPosition |
ScrollingSwingTerminal.getCursorPosition() |
|
TerminalPosition |
SwingTerminal.getCursorPosition() |
|
TerminalPosition |
SwingTerminalFrame.getCursorPosition() |
Modifier and Type | Method | Description |
---|---|---|
void |
AWTTerminal.setCursorPosition(TerminalPosition position) |
|
void |
AWTTerminalFrame.setCursorPosition(TerminalPosition position) |
|
void |
ScrollingAWTTerminal.setCursorPosition(TerminalPosition position) |
|
void |
ScrollingSwingTerminal.setCursorPosition(TerminalPosition position) |
|
void |
SwingTerminal.setCursorPosition(TerminalPosition position) |
|
void |
SwingTerminalFrame.setCursorPosition(TerminalPosition position) |
Modifier and Type | Method | Description |
---|---|---|
TerminalPosition |
DefaultVirtualTerminal.getCursorBufferPosition() |
|
TerminalPosition |
VirtualTerminal.getCursorBufferPosition() |
Returns the position of the terminal cursor where the row index is counted from the top of the text buffer,
including all backlog.
|
TerminalPosition |
DefaultVirtualTerminal.getCursorPosition() |
Modifier and Type | Method | Description |
---|---|---|
TreeSet<TerminalPosition> |
DefaultVirtualTerminal.getAndResetDirtyCells() |
|
TreeSet<TerminalPosition> |
DefaultVirtualTerminal.getDirtyCells() |
Modifier and Type | Method | Description |
---|---|---|
TextCharacter |
DefaultVirtualTerminal.getBufferCharacter(TerminalPosition position) |
|
TextCharacter |
VirtualTerminal.getBufferCharacter(TerminalPosition position) |
Returns a character from this virtual terminal, relative to the top-left position of the text buffer including
any backlog.
|
TextCharacter |
DefaultVirtualTerminal.getCharacter(TerminalPosition position) |
|
TextCharacter |
VirtualTerminal.getCharacter(TerminalPosition position) |
Returns a character from the viewport at the specified coordinates.
|
void |
DefaultVirtualTerminal.setCursorPosition(TerminalPosition cursorPosition) |
Copyright © 2020. All rights reserved.