Uses of Class
com.googlecode.lanterna.TerminalPosition
-
-
Uses of TerminalPosition in com.googlecode.lanterna
Fields in com.googlecode.lanterna declared as TerminalPosition Modifier and Type Field Description static TerminalPositionTerminalPosition. OFFSET_1x1Constant for the 1x1 position (one offset in both directions from top-left)TerminalPositionTerminalRectangle. positionstatic TerminalPositionTerminalPosition. TOP_LEFT_CORNERConstant for the top-left corner (0x0)Methods in com.googlecode.lanterna that return TerminalPosition Modifier and Type Method Description TerminalPositionTerminalPosition. abs()TerminalPositionTerminalPosition. divide(TerminalPosition denominator)TerminalPositionTerminalPosition. max(TerminalPosition position)TerminalPositionTerminalPosition. min(TerminalPosition position)TerminalPositionTerminalPosition. minus(TerminalPosition position)TerminalPositionTerminalPosition. multiply(TerminalPosition position)TerminalPositionTerminalPosition. plus(TerminalPosition position)TerminalPositionTerminalPosition. with(TerminalPosition position)Returns itself if it is equal to the supplied position, otherwise the supplied position.TerminalPositionTerminalPosition. withColumn(int column)Creates a new TerminalPosition object representing a position with the same row index as this but with a supplied column index.TerminalPositionTerminalPosition. 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.TerminalPositionTerminalPosition. withRelative(TerminalPosition translate)Creates a new TerminalPosition object that is 'translated' by an amount of rows and columns specified by another TerminalPosition.TerminalPositionTerminalPosition. withRelativeColumn(int delta)Creates a new TerminalPosition object representing a position on the same row, but with a column offset by a supplied value.TerminalPositionTerminalPosition. withRelativeRow(int delta)Creates a new TerminalPosition object representing a position on the same column, but with a row offset by a supplied value.TerminalPositionTerminalPosition. withRow(int row)Creates a new TerminalPosition object representing a position with the same column index as this but with a supplied row index.Methods in com.googlecode.lanterna with parameters of type TerminalPosition Modifier and Type Method Description intTerminalPosition. compareTo(TerminalPosition o)TerminalPositionTerminalPosition. divide(TerminalPosition denominator)TerminalPositionTerminalPosition. max(TerminalPosition position)TerminalPositionTerminalPosition. min(TerminalPosition position)TerminalPositionTerminalPosition. minus(TerminalPosition position)TerminalPositionTerminalPosition. multiply(TerminalPosition position)TerminalPositionTerminalPosition. plus(TerminalPosition position)booleanTerminalRectangle. whenContains(TerminalPosition p, java.lang.Runnable op)TerminalPositionTerminalPosition. with(TerminalPosition position)Returns itself if it is equal to the supplied position, otherwise the supplied position.TerminalPositionTerminalPosition. withRelative(TerminalPosition translate)Creates a new TerminalPosition object that is 'translated' by an amount of rows and columns specified by another TerminalPosition. -
Uses of TerminalPosition in com.googlecode.lanterna.graphics
Fields in com.googlecode.lanterna.graphics declared as TerminalPosition Modifier and Type Field Description private TerminalPositionTextGraphicsWriter. cursorPositionprivate TerminalPositionSubTextGraphics. topLeftMethods in com.googlecode.lanterna.graphics that return TerminalPosition Modifier and Type Method Description TerminalPositionTextGraphicsWriter. getCursorPosition()private TerminalPositionSubTextGraphics. project(int column, int row)Methods in com.googlecode.lanterna.graphics with parameters of type TerminalPosition Modifier and Type Method Description TextGraphicsAbstractTextGraphics. drawImage(TerminalPosition topLeft, TextImage image)TextGraphicsAbstractTextGraphics. drawImage(TerminalPosition topLeft, TextImage image, TerminalPosition sourceImageTopLeft, TerminalSize sourceImageSize)TextGraphicsNullTextGraphics. drawImage(TerminalPosition topLeft, TextImage image)TextGraphicsNullTextGraphics. drawImage(TerminalPosition topLeft, TextImage image, TerminalPosition sourceImageTopLeft, TerminalSize sourceImageSize)TextGraphicsTextGraphics. 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.TextGraphicsTextGraphics. 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.TextGraphicsAbstractTextGraphics. drawLine(TerminalPosition fromPosition, TerminalPosition toPoint, char character)TextGraphicsAbstractTextGraphics. drawLine(TerminalPosition fromPoint, TerminalPosition toPoint, TextCharacter character)voidDefaultShapeRenderer. drawLine(TerminalPosition p1, TerminalPosition p2, TextCharacter character)TextGraphicsNullTextGraphics. drawLine(TerminalPosition fromPoint, TerminalPosition toPoint, char character)TextGraphicsNullTextGraphics. drawLine(TerminalPosition fromPoint, TerminalPosition toPoint, TextCharacter character)voidShapeRenderer. drawLine(TerminalPosition p1, TerminalPosition p2, TextCharacter character)TextGraphicsTextGraphics. drawLine(TerminalPosition fromPoint, TerminalPosition toPoint, char character)Draws a line from a specified position to a specified position, using a supplied character.TextGraphicsTextGraphics. drawLine(TerminalPosition fromPoint, TerminalPosition toPoint, TextCharacter character)Draws a line from a specified position to a specified position, using a supplied TextCharacter.private voidDefaultShapeRenderer. drawLine0(TerminalPosition start, int deltaX, int deltaY, boolean leftToRight, TextCharacter character)private voidDefaultShapeRenderer. drawLine1(TerminalPosition start, int deltaX, int deltaY, boolean leftToRight, TextCharacter character)TextGraphicsAbstractTextGraphics. drawRectangle(TerminalPosition topLeft, TerminalSize size, char character)TextGraphicsAbstractTextGraphics. drawRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)voidDefaultShapeRenderer. drawRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)TextGraphicsNullTextGraphics. drawRectangle(TerminalPosition topLeft, TerminalSize size, char character)TextGraphicsNullTextGraphics. drawRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)voidShapeRenderer. drawRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)TextGraphicsTextGraphics. drawRectangle(TerminalPosition topLeft, TerminalSize size, char character)Draws the outline of a rectangle with a particular character (and the currently active colors and modifiers).TextGraphicsTextGraphics. 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.TextGraphicsAbstractTextGraphics. drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, char character)TextGraphicsAbstractTextGraphics. drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)voidDefaultShapeRenderer. drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)TextGraphicsNullTextGraphics. drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, char character)TextGraphicsNullTextGraphics. drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)voidShapeRenderer. drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)TextGraphicsTextGraphics. drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, char character)Draws the outline of a triangle on the screen, using a supplied character.TextGraphicsTextGraphics. drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)Draws the outline of a triangle on the screen, using a supplied character.TextGraphicsAbstractTextGraphics. fillRectangle(TerminalPosition topLeft, TerminalSize size, char character)TextGraphicsAbstractTextGraphics. fillRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)voidDefaultShapeRenderer. fillRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)TextGraphicsNullTextGraphics. fillRectangle(TerminalPosition topLeft, TerminalSize size, char character)TextGraphicsNullTextGraphics. fillRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)voidShapeRenderer. fillRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)TextGraphicsTextGraphics. fillRectangle(TerminalPosition topLeft, TerminalSize size, char character)Takes a rectangle and fills it with a particular character (and the currently active colors and modifiers).TextGraphicsTextGraphics. 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.TextGraphicsAbstractTextGraphics. fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, char character)TextGraphicsAbstractTextGraphics. fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)voidDefaultShapeRenderer. fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)TextGraphicsNullTextGraphics. fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, char character)TextGraphicsNullTextGraphics. fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)voidShapeRenderer. fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)TextGraphicsTextGraphics. fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, char character)Draws a filled triangle, using a supplied character.TextGraphicsTextGraphics. fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)Draws a filled triangle, using a supplied character.TextCharacterAbstractTextGraphics. getCharacter(TerminalPosition position)TextCharacterNullTextGraphics. getCharacter(TerminalPosition position)TextCharacterTextGraphics. getCharacter(TerminalPosition position)Returns the character at the specific position in the terminal.TextCharacterBasicTextImage. getCharacterAt(TerminalPosition position)TextCharacterTextImage. getCharacterAt(TerminalPosition position)Returns the character stored at a particular position in this imageTextGraphicsAbstractTextGraphics. newTextGraphics(TerminalPosition topLeftCorner, TerminalSize size)TextGraphicsNullTextGraphics. newTextGraphics(TerminalPosition topLeftCorner, TerminalSize size)TextGraphicsTextGraphics. newTextGraphics(TerminalPosition topLeftCorner, TerminalSize size)Creates a new TextGraphics of the same type as this one, using the same underlying subsystem.TextGraphicsAbstractTextGraphics. putCSIStyledString(TerminalPosition position, java.lang.String string)TextGraphicsNullTextGraphics. putCSIStyledString(TerminalPosition position, java.lang.String string)TextGraphicsTextGraphics. putCSIStyledString(TerminalPosition position, java.lang.String string)Puts a string on the screen at the specified position with the current colors and modifiers.TextGraphicsAbstractTextGraphics. putString(TerminalPosition position, java.lang.String string)TextGraphicsAbstractTextGraphics. putString(TerminalPosition position, java.lang.String string, SGR extraModifier, SGR... optionalExtraModifiers)TextGraphicsNullTextGraphics. putString(TerminalPosition position, java.lang.String string)TextGraphicsNullTextGraphics. putString(TerminalPosition position, java.lang.String string, SGR extraModifier, SGR... optionalExtraModifiers)TextGraphicsTextGraphics. putString(TerminalPosition position, java.lang.String string)Shortcut to calling:TextGraphicsTextGraphics. putString(TerminalPosition position, java.lang.String string, SGR extraModifier, SGR... optionalExtraModifiers)Shortcut to calling:TextGraphicsAbstractTextGraphics. setCharacter(TerminalPosition position, char character)TextGraphicsAbstractTextGraphics. setCharacter(TerminalPosition position, TextCharacter textCharacter)TextGraphicsNullTextGraphics. setCharacter(TerminalPosition position, char character)TextGraphicsNullTextGraphics. setCharacter(TerminalPosition position, TextCharacter character)TextGraphicsTextGraphics. setCharacter(TerminalPosition position, char character)Sets the character at the current position to the specified valueTextGraphicsTextGraphics. 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.voidBasicTextImage. setCharacterAt(TerminalPosition position, TextCharacter character)voidTextImage. setCharacterAt(TerminalPosition position, TextCharacter character)Sets the character at a specific position in the image to a particular TextCharacter.voidTextGraphicsWriter. setCursorPosition(TerminalPosition cursorPosition)Constructors in com.googlecode.lanterna.graphics with parameters of type TerminalPosition Constructor Description SubTextGraphics(TextGraphics underlyingTextGraphics, TerminalPosition topLeft, TerminalSize writableAreaSize) -
Uses of TerminalPosition in com.googlecode.lanterna.gui2
Fields in com.googlecode.lanterna.gui2 declared as TerminalPosition Modifier and Type Field Description private TerminalPositionTextBox. caretPositionprivate TerminalPositionAbstractWindow. contentOffsetprivate static TerminalPositionCheckBox.DefaultCheckBoxRenderer. CURSOR_LOCATIONprivate TerminalPositionMultiWindowTextGUI. dragStartprivate TerminalPositionAbstractWindow. lastKnownPositionprivate static TerminalPositionDefaultWindowDecorationRenderer. OFFSETprivate static TerminalPositionFatWindowDecorationRenderer. OFFSET_WITH_TITLEprivate static TerminalPositionFatWindowDecorationRenderer. OFFSET_WITHOUT_TITLEprivate TerminalPositionMultiWindowTextGUI. originWindowPositionprivate TerminalPositionAbstractComponent. positionprotected TerminalPositionAbstractListBox. scrollOffsetprivate TerminalPositionTextBox.DefaultTextBoxRenderer. viewTopLeftMethods in com.googlecode.lanterna.gui2 that return TerminalPosition Modifier and Type Method Description TerminalPositionAbstractWindow. fromGlobal(TerminalPosition globalPosition)Deprecated.TerminalPositionBasePane. fromGlobal(TerminalPosition position)Returns a position expressed in global coordinates, i.e.TerminalPositionWindow. fromGlobal(TerminalPosition position)Deprecated.This is deprecated in favor of calling either of:fromGlobalToContentRelative()orfromGlobalToDecoratedRelative()TerminalPositionAbstractWindow. fromGlobalToContentRelative(TerminalPosition globalPosition)TerminalPositionWindow. fromGlobalToContentRelative(TerminalPosition position)Returns a position expressed in global coordinates, i.e.TerminalPositionAbstractWindow. fromGlobalToDecoratedRelative(TerminalPosition globalPosition)TerminalPositionWindow. fromGlobalToDecoratedRelative(TerminalPosition position)Returns a position expressed in global coordinates, i.e.TerminalPositionTextBox. getCaretPosition()Returns the position of the caret, as aTerminalPositionwhere the row and columns equals the coordinates in a multi-lineTextBoxand for single-lineTextBoxyou can ignore therowcomponent.TerminalPositionAbstractInteractableComponent. getCursorLocation()TerminalPositionAbstractListBox.DefaultListBoxRenderer. getCursorLocation(T listBox)TerminalPositionActionListBox. getCursorLocation()TerminalPositionButton.BorderedButtonRenderer. getCursorLocation(Button component)TerminalPositionButton.DefaultButtonRenderer. getCursorLocation(Button button)TerminalPositionButton.FlatButtonRenderer. getCursorLocation(Button component)TerminalPositionButton. getCursorLocation()TerminalPositionCheckBox.DefaultCheckBoxRenderer. getCursorLocation(CheckBox component)TerminalPositionComboBox.DefaultComboBoxRenderer. getCursorLocation(ComboBox<V> comboBox)TerminalPositionInteractable. getCursorLocation()Returns, in local coordinates, where to put the cursor on the screen when this component has focus.TerminalPositionInteractableRenderer. getCursorLocation(T component)TerminalPositionTextBox.DefaultTextBoxRenderer. getCursorLocation(TextBox component)TerminalPositionAbstractBasePane. getCursorPosition()protected abstract TerminalPositionAbstractTextGUI. 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.TerminalPositionBasePane. getCursorPosition()Returns the position of where to put the terminal cursor according to this root container.TerminalPositionMultiWindowTextGUI. getCursorPosition()TerminalPositionWindow. getCursorPosition()Returns the position of where to put the terminal cursor according to this window.TerminalPositionAbstractComponent. getGlobalPosition()TerminalPositionComponent. getGlobalPosition()Returns the top-left corner of this component in global coordinates space usingTOP_LEFT_CORNERwithComponent.toGlobal(TerminalPosition)TerminalPositionDefaultWindowDecorationRenderer. getOffset(Window window)TerminalPositionEmptyWindowDecorationRenderer. getOffset(Window window)TerminalPositionFatWindowDecorationRenderer. getOffset(Window window)TerminalPositionWindowDecorationRenderer. 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 windowTerminalPositionAbstractComponent. getPosition()TerminalPositionAbstractWindow. getPosition()TerminalPositionComponent. getPosition()Returns the top-left corner of this component, measured from its parent.TerminalPositionWindow. getPosition()Returns the position of the window, as last specified by the window manager.TerminalPositionTextBox.DefaultTextBoxRenderer. getViewTopLeft()TerminalPositionTextBox.TextBoxRenderer. getViewTopLeft()private TerminalPositionAbstractBorder. getWrappedComponentTopLeftOffset()TerminalPositionBorder.BorderRenderer. getWrappedComponentTopLeftOffset()How large is the offset from the top left corner of the border to the top left corner of the wrapped component?TerminalPositionBorders.AbstractBorderRenderer. getWrappedComponentTopLeftOffset()TerminalPositionAbstractBasePane.ContentHolder. toBasePane(TerminalPosition position)TerminalPositionAbstractBorder. toBasePane(TerminalPosition position)TerminalPositionAbstractComponent. toBasePane(TerminalPosition position)TerminalPositionComponent. toBasePane(TerminalPosition position)Translates a position local to the container to the base pane's coordinate space.TerminalPositionAbstractBasePane.ContentHolder. toGlobal(TerminalPosition position)TerminalPositionAbstractBorder. toGlobal(TerminalPosition position)TerminalPositionAbstractComponent. toGlobal(TerminalPosition position)TerminalPositionAbstractWindow. toGlobal(TerminalPosition localPosition)Deprecated.TerminalPositionBasePane. toGlobal(TerminalPosition localPosition)Returns a position in a root container's local coordinate space to global coordinatesTerminalPositionComponent. toGlobal(TerminalPosition position)Translates a position local to the container to global coordinate space.TerminalPositionWindow. toGlobal(TerminalPosition localPosition)Deprecated.This is deprecated in favor of calling either of:toGlobalFromContentRelative()ortoGlobalFromDecoratedRelative().TerminalPositionAbstractWindow. toGlobalFromContentRelative(TerminalPosition contentLocalPosition)TerminalPositionWindow. toGlobalFromContentRelative(TerminalPosition localPosition)Returns a position in the window content's local coordinate space to global coordinatesTerminalPositionAbstractWindow. toGlobalFromDecoratedRelative(TerminalPosition localPosition)Deprecated.TerminalPositionWindow. toGlobalFromDecoratedRelative(TerminalPosition decoratedPosition)Returns a position in the decorated window local coordinate space to global coordinatesMethods in com.googlecode.lanterna.gui2 with parameters of type TerminalPosition Modifier and Type Method Description DefaultTextGUIGraphicsDefaultTextGUIGraphics. drawImage(TerminalPosition topLeft, TextImage image)DefaultTextGUIGraphicsDefaultTextGUIGraphics. drawImage(TerminalPosition topLeft, TextImage image, TerminalPosition sourceImageTopLeft, TerminalSize sourceImageSize)TextGUIGraphicsTextGUIGraphics. drawImage(TerminalPosition topLeft, TextImage image)TextGUIGraphicsTextGUIGraphics. drawImage(TerminalPosition topLeft, TextImage image, TerminalPosition sourceImageTopLeft, TerminalSize sourceImageSize)DefaultTextGUIGraphicsDefaultTextGUIGraphics. drawLine(TerminalPosition fromPoint, TerminalPosition toPoint, char character)DefaultTextGUIGraphicsDefaultTextGUIGraphics. drawLine(TerminalPosition fromPoint, TerminalPosition toPoint, TextCharacter character)TextGUIGraphicsTextGUIGraphics. drawLine(TerminalPosition fromPoint, TerminalPosition toPoint, char character)TextGUIGraphicsTextGUIGraphics. drawLine(TerminalPosition fromPoint, TerminalPosition toPoint, TextCharacter character)DefaultTextGUIGraphicsDefaultTextGUIGraphics. drawRectangle(TerminalPosition topLeft, TerminalSize size, char character)DefaultTextGUIGraphicsDefaultTextGUIGraphics. drawRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)TextGUIGraphicsTextGUIGraphics. drawRectangle(TerminalPosition topLeft, TerminalSize size, char character)TextGUIGraphicsTextGUIGraphics. drawRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)DefaultTextGUIGraphicsDefaultTextGUIGraphics. drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, char character)DefaultTextGUIGraphicsDefaultTextGUIGraphics. drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)TextGUIGraphicsTextGUIGraphics. drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, char character)TextGUIGraphicsTextGUIGraphics. drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)DefaultTextGUIGraphicsDefaultTextGUIGraphics. fillRectangle(TerminalPosition topLeft, TerminalSize size, char character)DefaultTextGUIGraphicsDefaultTextGUIGraphics. fillRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)TextGUIGraphicsTextGUIGraphics. fillRectangle(TerminalPosition topLeft, TerminalSize size, char character)TextGUIGraphicsTextGUIGraphics. fillRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)DefaultTextGUIGraphicsDefaultTextGUIGraphics. fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, char character)DefaultTextGUIGraphicsDefaultTextGUIGraphics. fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)TextGUIGraphicsTextGUIGraphics. fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, char character)TextGUIGraphicsTextGUIGraphics. fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)TerminalPositionAbstractWindow. fromGlobal(TerminalPosition globalPosition)Deprecated.TerminalPositionBasePane. fromGlobal(TerminalPosition position)Returns a position expressed in global coordinates, i.e.TerminalPositionWindow. fromGlobal(TerminalPosition position)Deprecated.This is deprecated in favor of calling either of:fromGlobalToContentRelative()orfromGlobalToDecoratedRelative()TerminalPositionAbstractWindow. fromGlobalToContentRelative(TerminalPosition globalPosition)TerminalPositionWindow. fromGlobalToContentRelative(TerminalPosition position)Returns a position expressed in global coordinates, i.e.TerminalPositionAbstractWindow. fromGlobalToDecoratedRelative(TerminalPosition globalPosition)TerminalPositionWindow. fromGlobalToDecoratedRelative(TerminalPosition position)Returns a position expressed in global coordinates, i.e.TextCharacterDefaultTextGUIGraphics. getCharacter(TerminalPosition position)private java.util.Set<Interactable>InteractableLookupMap. getDisqualifiedInteractables(TerminalPosition startPosition, boolean scanHorizontally)InteractableInteractableLookupMap. getInteractableAt(TerminalPosition position)Looks up what interactable component is as a particular location in the mapDefaultTextGUIGraphicsDefaultTextGUIGraphics. newTextGraphics(TerminalPosition topLeftCorner, TerminalSize size)TextGUIGraphicsTextGUIGraphics. newTextGraphics(TerminalPosition topLeftCorner, TerminalSize size)voidWindowListener. 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 uservoidWindowListenerAdapter. onMoved(Window window, TerminalPosition oldPosition, TerminalPosition newPosition)DefaultTextGUIGraphicsDefaultTextGUIGraphics. putCSIStyledString(TerminalPosition position, java.lang.String string)TextGUIGraphicsTextGUIGraphics. putCSIStyledString(TerminalPosition position, java.lang.String string)DefaultTextGUIGraphicsDefaultTextGUIGraphics. putString(TerminalPosition position, java.lang.String string)DefaultTextGUIGraphicsDefaultTextGUIGraphics. putString(TerminalPosition position, java.lang.String string, SGR extraModifier, SGR... optionalExtraModifiers)TextGUIGraphicsTextGUIGraphics. putString(TerminalPosition position, java.lang.String string)TextGUIGraphicsTextGUIGraphics. putString(TerminalPosition position, java.lang.String string, SGR extraModifier, SGR... optionalExtraModifiers)DefaultTextGUIGraphicsDefaultTextGUIGraphics. setCharacter(TerminalPosition position, char character)DefaultTextGUIGraphicsDefaultTextGUIGraphics. setCharacter(TerminalPosition position, TextCharacter character)TextGUIGraphicsTextGUIGraphics. setCharacter(TerminalPosition position, char character)TextGUIGraphicsTextGUIGraphics. setCharacter(TerminalPosition position, TextCharacter character)voidAbstractWindow. setContentOffset(TerminalPosition offset)voidWindow. 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.TAbstractComponent. setPosition(TerminalPosition position)voidAbstractWindow. setPosition(TerminalPosition topLeft)ComponentComponent. setPosition(TerminalPosition position)This method will be called by the layout manager when it has decided where the component is to be located.voidWindow. setPosition(TerminalPosition topLeft)This method is called by the GUI system to update the window on where the window manager placed it.voidTextBox.DefaultTextBoxRenderer. setViewTopLeft(TerminalPosition position)voidTextBox.TextBoxRenderer. setViewTopLeft(TerminalPosition position)TerminalPositionAbstractBasePane.ContentHolder. toBasePane(TerminalPosition position)TerminalPositionAbstractBorder. toBasePane(TerminalPosition position)TerminalPositionAbstractComponent. toBasePane(TerminalPosition position)TerminalPositionComponent. toBasePane(TerminalPosition position)Translates a position local to the container to the base pane's coordinate space.TerminalPositionAbstractBasePane.ContentHolder. toGlobal(TerminalPosition position)TerminalPositionAbstractBorder. toGlobal(TerminalPosition position)TerminalPositionAbstractComponent. toGlobal(TerminalPosition position)TerminalPositionAbstractWindow. toGlobal(TerminalPosition localPosition)Deprecated.TerminalPositionBasePane. toGlobal(TerminalPosition localPosition)Returns a position in a root container's local coordinate space to global coordinatesTerminalPositionComponent. toGlobal(TerminalPosition position)Translates a position local to the container to global coordinate space.TerminalPositionWindow. toGlobal(TerminalPosition localPosition)Deprecated.This is deprecated in favor of calling either of:toGlobalFromContentRelative()ortoGlobalFromDecoratedRelative().TerminalPositionAbstractWindow. toGlobalFromContentRelative(TerminalPosition contentLocalPosition)TerminalPositionWindow. toGlobalFromContentRelative(TerminalPosition localPosition)Returns a position in the window content's local coordinate space to global coordinatesTerminalPositionAbstractWindow. toGlobalFromDecoratedRelative(TerminalPosition localPosition)Deprecated.TerminalPositionWindow. toGlobalFromDecoratedRelative(TerminalPosition decoratedPosition)Returns a position in the decorated window local coordinate space to global coordinates -
Uses of TerminalPosition in com.googlecode.lanterna.gui2.menu
Methods in com.googlecode.lanterna.gui2.menu that return TerminalPosition Modifier and Type Method Description TerminalPositionMenuItem.DefaultMenuItemRenderer. getCursorLocation(MenuItem component)TerminalPositionMenuBar. toBasePane(TerminalPosition position)Methods in com.googlecode.lanterna.gui2.menu with parameters of type TerminalPosition Modifier and Type Method Description TerminalPositionMenuBar. toBasePane(TerminalPosition position) -
Uses of TerminalPosition in com.googlecode.lanterna.gui2.table
Methods in com.googlecode.lanterna.gui2.table that return TerminalPosition Modifier and Type Method Description TerminalPositionDefaultTableRenderer. getCursorLocation(Table<V> component) -
Uses of TerminalPosition in com.googlecode.lanterna.input
Fields in com.googlecode.lanterna.input declared as TerminalPosition Modifier and Type Field Description private TerminalPositionMouseAction. positionprivate TerminalPositionScreenInfoAction. positionMethods in com.googlecode.lanterna.input that return TerminalPosition Modifier and Type Method Description TerminalPositionMouseAction. getPosition()The location of the mouse cursor when this event was generated.TerminalPositionScreenInfoAction. getPosition()The location of the mouse cursor when this event was generated.Constructors in com.googlecode.lanterna.input with parameters of type TerminalPosition Constructor Description MouseAction(MouseActionType actionType, int button, TerminalPosition position)Constructs a MouseAction based on an action type, a button and a location on the screenScreenInfoAction(TerminalPosition position)Constructs a ScreenInfoAction based on a location on the screen -
Uses of TerminalPosition in com.googlecode.lanterna.screen
Fields in com.googlecode.lanterna.screen declared as TerminalPosition Modifier and Type Field Description private TerminalPositionAbstractScreen. cursorPositionprivate TerminalPositionVirtualScreen. viewportTopLeftMethods in com.googlecode.lanterna.screen that return TerminalPosition Modifier and Type Method Description TerminalPositionAbstractScreen. getCursorPosition()TerminalPositionScreen. 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.TerminalPositionVirtualScreen.DefaultFrameRenderer. getViewportOffset()TerminalPositionVirtualScreen.FrameRenderer. getViewportOffset()Where in the virtual screen should the top-left position of the viewport be? To draw the viewport from the top-left position of the screen, return 0x0 (or TerminalPosition.TOP_LEFT_CORNER) here.Methods in com.googlecode.lanterna.screen with parameters of type TerminalPosition Modifier and Type Method Description intTerminalScreen.ScreenPointComparator. compare(TerminalPosition o1, TerminalPosition o2)voidVirtualScreen.DefaultFrameRenderer. drawFrame(TextGraphics graphics, TerminalSize realSize, TerminalSize virtualSize, TerminalPosition virtualScrollPosition)voidVirtualScreen.FrameRenderer. drawFrame(TextGraphics graphics, TerminalSize realSize, TerminalSize virtualSize, TerminalPosition virtualScrollPosition)Drawn the 'frame', meaning anything that is outside the viewport (title, scrollbar, etc)TextCharacterAbstractScreen. getBackCharacter(TerminalPosition position)TextCharacterScreen. getBackCharacter(TerminalPosition position)Reads a character and its associated meta-data from the back-buffer and returns it encapsulated as a ScreenCharacter.TextCharacterScreenBuffer. getCharacterAt(TerminalPosition position)TextCharacterAbstractScreen. getFrontCharacter(TerminalPosition position)TextCharacterScreen. getFrontCharacter(TerminalPosition position)Reads a character and its associated meta-data from the front-buffer and returns it encapsulated as a ScreenCharacter.TextCharacterVirtualScreen. getFrontCharacter(TerminalPosition position)voidAbstractScreen. setCharacter(TerminalPosition position, TextCharacter screenCharacter)voidScreen. setCharacter(TerminalPosition position, TextCharacter screenCharacter)Sets a character in the back-buffer to a specified value with specified colors and modifiers.voidScreenBuffer. setCharacterAt(TerminalPosition position, TextCharacter character)voidAbstractScreen. setCursorPosition(TerminalPosition position)Moves the current cursor position or hides it.voidScreen. 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.voidVirtualScreen. setCursorPosition(TerminalPosition position)voidVirtualScreen. setViewportTopLeft(TerminalPosition position) -
Uses of TerminalPosition in com.googlecode.lanterna.terminal
Fields in com.googlecode.lanterna.terminal declared as TerminalPosition Modifier and Type Field Description private TerminalPositionTerminalTextGraphics. lastPositionFields in com.googlecode.lanterna.terminal with type parameters of type TerminalPosition Modifier and Type Field Description private java.util.Map<TerminalPosition,TextCharacter>TerminalTextGraphics. writeHistoryMethods in com.googlecode.lanterna.terminal that return TerminalPosition Modifier and Type Method Description TerminalPositionIOSafeTerminal. getCursorPosition()TerminalPositionIOSafeTerminalAdapter. getCursorPosition()TerminalPositionTerminal. getCursorPosition()Returns the position of the cursor, as reported by the terminal.Methods in com.googlecode.lanterna.terminal with parameters of type TerminalPosition Modifier and Type Method Description TextGraphicsTerminalTextGraphics. drawLine(TerminalPosition fromPoint, TerminalPosition toPoint, char character)TextGraphicsTerminalTextGraphics. drawRectangle(TerminalPosition topLeft, TerminalSize size, char character)TextGraphicsTerminalTextGraphics. drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, char character)TextGraphicsTerminalTextGraphics. fillRectangle(TerminalPosition topLeft, TerminalSize size, char character)TextGraphicsTerminalTextGraphics. fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, char character)TextCharacterTerminalTextGraphics. getCharacter(TerminalPosition position)TextGraphicsTerminalTextGraphics. setCharacter(TerminalPosition position, TextCharacter textCharacter)voidIOSafeTerminal. setCursorPosition(TerminalPosition position)voidIOSafeTerminalAdapter. setCursorPosition(TerminalPosition position)voidTerminal. setCursorPosition(TerminalPosition position)Same as callingsetCursorPosition(position.getColumn(), position.getRow()) -
Uses of TerminalPosition in com.googlecode.lanterna.terminal.ansi
Fields in com.googlecode.lanterna.terminal.ansi declared as TerminalPosition Modifier and Type Field Description private TerminalPositionStreamBasedTerminal. lastReportedCursorPositionMethods in com.googlecode.lanterna.terminal.ansi that return TerminalPosition Modifier and Type Method Description TerminalPositionANSITerminal. getCursorPosition()(package private) TerminalPositionStreamBasedTerminal. waitForCursorPositionReport()Waits for up to 5 seconds for a terminal cursor position report to appear in the input stream.Methods in com.googlecode.lanterna.terminal.ansi with parameters of type TerminalPosition Modifier and Type Method Description voidANSITerminal. setCursorPosition(TerminalPosition position) -
Uses of TerminalPosition in com.googlecode.lanterna.terminal.swing
Fields in com.googlecode.lanterna.terminal.swing declared as TerminalPosition Modifier and Type Field Description private TerminalPositionGraphicalTerminalImplementation. lastDrawnCursorPositionMethods in com.googlecode.lanterna.terminal.swing that return TerminalPosition Modifier and Type Method Description TerminalPositionAWTTerminal. getCursorPosition()TerminalPositionAWTTerminalFrame. getCursorPosition()TerminalPositionGraphicalTerminalImplementation. getCursorPosition()TerminalPositionScrollingAWTTerminal. getCursorPosition()TerminalPositionScrollingSwingTerminal. getCursorPosition()TerminalPositionSwingTerminal. getCursorPosition()TerminalPositionSwingTerminalFrame. getCursorPosition()Methods in com.googlecode.lanterna.terminal.swing with parameters of type TerminalPosition Modifier and Type Method Description voidAWTTerminal. setCursorPosition(TerminalPosition position)voidAWTTerminalFrame. setCursorPosition(TerminalPosition position)voidGraphicalTerminalImplementation. setCursorPosition(TerminalPosition position)voidScrollingAWTTerminal. setCursorPosition(TerminalPosition position)voidScrollingSwingTerminal. setCursorPosition(TerminalPosition position)voidSwingTerminal. setCursorPosition(TerminalPosition position)voidSwingTerminalFrame. setCursorPosition(TerminalPosition position)(package private) voidGraphicalTerminalImplementation.DirtyCellsLookupTable. setDirty(TerminalPosition position) -
Uses of TerminalPosition in com.googlecode.lanterna.terminal.virtual
Fields in com.googlecode.lanterna.terminal.virtual declared as TerminalPosition Modifier and Type Field Description private TerminalPositionDefaultVirtualTerminal. cursorPositionprivate TerminalPositionDefaultVirtualTerminal. savedCursorPositionFields in com.googlecode.lanterna.terminal.virtual with type parameters of type TerminalPosition Modifier and Type Field Description private java.util.TreeSet<TerminalPosition>DefaultVirtualTerminal. dirtyTerminalCellsMethods in com.googlecode.lanterna.terminal.virtual that return TerminalPosition Modifier and Type Method Description TerminalPositionDefaultVirtualTerminal. getCursorBufferPosition()TerminalPositionVirtualTerminal. getCursorBufferPosition()Returns the position of the terminal cursor where the row index is counted from the top of the text buffer, including all backlog.TerminalPositionDefaultVirtualTerminal. getCursorPosition()Methods in com.googlecode.lanterna.terminal.virtual that return types with arguments of type TerminalPosition Modifier and Type Method Description java.util.TreeSet<TerminalPosition>DefaultVirtualTerminal. getAndResetDirtyCells()java.util.TreeSet<TerminalPosition>DefaultVirtualTerminal. getDirtyCells()Methods in com.googlecode.lanterna.terminal.virtual with parameters of type TerminalPosition Modifier and Type Method Description TextCharacterDefaultVirtualTerminal. getBufferCharacter(TerminalPosition position)TextCharacterVirtualTerminal. getBufferCharacter(TerminalPosition position)Returns a character from this virtual terminal, relative to the top-left position of the text buffer including any backlog.TextCharacterDefaultVirtualTerminal. getCharacter(TerminalPosition position)TextCharacterVirtualTerminal. getCharacter(TerminalPosition position)Returns a character from the viewport at the specified coordinates.TextCharacterVirtualTerminalTextGraphics. getCharacter(TerminalPosition position)voidDefaultVirtualTerminal. setCursorPosition(TerminalPosition cursorPosition)
-