public class Terminal extends Widget<HTMLDivElement,Terminal>
Modifier and Type | Class and Description |
---|---|
static interface |
Terminal.ReadLineProcessor |
contextMenu, contextMenuHandlerRegistration, currentHeight, currentWidth, enabled, NATIVE_CONTEXT_MENU_HANDLER
Constructor and Description |
---|
Terminal() |
Modifier and Type | Method and Description |
---|---|
Terminal |
add(Widget<? extends Element<?>,?> widget) |
Terminal |
clear() |
String |
getBuffer() |
TerminalColorScheme |
getColorScheme() |
Terminal |
print(String text) |
Terminal |
println() |
Terminal |
println(String text) |
void |
readLine(Terminal.ReadLineProcessor processor) |
Terminal |
remove(Widget<?,?> widget) |
Terminal |
setBuffer(String buffer) |
Terminal |
setColorScheme(TerminalColorScheme colorScheme) |
Terminal |
setCursor(TerminalCursor cursor) |
protected Terminal |
superAdd(Widget<? extends Element<?>,?> widget) |
protected Terminal |
superRemove(Widget<?,?> widget) |
addActionHandler, addClassName, addDoubleActionHandler, addDoubleTapHandler, addDropTarget, addEventHandler, addEventHandler, addResizeHandler, addStyleName, addTapHandler, addTouchHoldHandler, canDropTargetAccept, cast, clearBackgroundColor, clearDropTargets, clearTextColor, ensureHandlers, fireEvent, fireEvent, fireResizeEvent, getAbsoluteLeft, getAbsoluteTop, getAncestor, getChildren, getChildrenCount, getComputedStyle, getContextMenu, getContextMenuHandler, getDeepestWidget, getDragSource, getDropTargetList, getElement, getFirstChild, getId, getLastChild, getNextSibling, getNextSibling, getOffsetHeight, getOffsetWidth, getParent, getScrollLeft, getScrollTop, getStyle, hasClassName, hasFocus, insert, isAttached, isDropTarget, isEnabled, isInEventThread, onAttach, onDetach, removeClassName, removeDropTarget, removeStyleName, setBackgroundColor, setClassName, setContextMenu, setDragSource, setDropTarget, setEnabled, setHeight, setHeight, setHeight, setId, setLeft, setLeftAndTop, setMaxHeight, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setMinWidth, setParent, setPixelSize, setScrollLeft, setScrollTop, setSize, setTextAlign, setTextColor, setTop, setWidth, setWidth, setWidth
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancelMeasure, cancelMutation, measureAsSoonAsPossible, mutateAsSoonAsPossible, mutateAsSoonAsPossible, scheduleMeasure, scheduleMutation
addAttachHandler
addDetachHandler
addTransitionEndHandler, addTransitionEndHandler
addMouseDownHandler, addMouseDownHandler
addMouseMoveHandler, addMouseMoveHandler
addMouseOutHandler, addMouseOutHandler
addMouseOverHandler, addMouseOverHandler
addMouseUpHandler, addMouseUpHandler
addWheelHandler, addWheelHandler
addClickHandler, addClickHandler
addDoubleClickHandler, addDoubleClickHandler
addContextMenuHandler, addContextMenuHandler
addTouchStartHandler, addTouchStartHandler
addTouchMoveHandler, addTouchMoveHandler
addTouchForceChangeHandler, addTouchForceChangeHandler
addTouchEndHandler, addTouchEndHandler
addTouchCancelHandler, addTouchCancelHandler
addTouchHoldHandler
addTapHandler
addDoubleTapHandler
addKeyDownHandler, addKeyDownHandler
addKeyUpHandler, addKeyUpHandler
addKeyPressHandler, addKeyPressHandler
addScrollHandler, addScrollHandler
addAnimationStartHandler, addAnimationStartHandler
addAnimationIterationHandler, addAnimationIterationHandler
addAnimationEndHandler, addAnimationEndHandler
addActionHandler
addDoubleActionHandler
public TerminalColorScheme getColorScheme()
public Terminal setColorScheme(TerminalColorScheme colorScheme)
colorScheme
- the colorScheme to setpublic Terminal setCursor(TerminalCursor cursor)
public void readLine(Terminal.ReadLineProcessor processor)
public String getBuffer()
public Terminal add(Widget<? extends Element<?>,?> widget)
add
in class Widget<HTMLDivElement,Terminal>
public Terminal remove(Widget<?,?> widget)
remove
in class Widget<HTMLDivElement,Terminal>
@WillMutate public Terminal clear()
clear
in class Widget<HTMLDivElement,Terminal>
@WillMutate public Terminal print(String text)
text
- @WillMutate public Terminal println()
@WillMutate public Terminal println(String text)
text
- Copyright © 2018 Xalys. All rights reserved.