Class JmixSourceCodeEditorWidget
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.FocusWidget
io.jmix.ui.widget.client.addon.aceeditor.AceEditorWidget
io.jmix.ui.widget.client.sourcecodeeditor.JmixSourceCodeEditorWidget
- All Implemented Interfaces:
com.google.gwt.event.dom.client.HasAllDragAndDropHandlers
,com.google.gwt.event.dom.client.HasAllFocusHandlers
,com.google.gwt.event.dom.client.HasAllGestureHandlers
,com.google.gwt.event.dom.client.HasAllKeyHandlers
,com.google.gwt.event.dom.client.HasAllMouseHandlers
,com.google.gwt.event.dom.client.HasAllTouchHandlers
,com.google.gwt.event.dom.client.HasBlurHandlers
,com.google.gwt.event.dom.client.HasClickHandlers
,com.google.gwt.event.dom.client.HasDoubleClickHandlers
,com.google.gwt.event.dom.client.HasDragEndHandlers
,com.google.gwt.event.dom.client.HasDragEnterHandlers
,com.google.gwt.event.dom.client.HasDragHandlers
,com.google.gwt.event.dom.client.HasDragLeaveHandlers
,com.google.gwt.event.dom.client.HasDragOverHandlers
,com.google.gwt.event.dom.client.HasDragStartHandlers
,com.google.gwt.event.dom.client.HasDropHandlers
,com.google.gwt.event.dom.client.HasFocusHandlers
,com.google.gwt.event.dom.client.HasGestureChangeHandlers
,com.google.gwt.event.dom.client.HasGestureEndHandlers
,com.google.gwt.event.dom.client.HasGestureStartHandlers
,com.google.gwt.event.dom.client.HasKeyDownHandlers
,com.google.gwt.event.dom.client.HasKeyPressHandlers
,com.google.gwt.event.dom.client.HasKeyUpHandlers
,com.google.gwt.event.dom.client.HasMouseDownHandlers
,com.google.gwt.event.dom.client.HasMouseMoveHandlers
,com.google.gwt.event.dom.client.HasMouseOutHandlers
,com.google.gwt.event.dom.client.HasMouseOverHandlers
,com.google.gwt.event.dom.client.HasMouseUpHandlers
,com.google.gwt.event.dom.client.HasMouseWheelHandlers
,com.google.gwt.event.dom.client.HasTouchCancelHandlers
,com.google.gwt.event.dom.client.HasTouchEndHandlers
,com.google.gwt.event.dom.client.HasTouchMoveHandlers
,com.google.gwt.event.dom.client.HasTouchStartHandlers
,com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.ui.Focusable
,com.google.gwt.user.client.ui.HasEnabled
,com.google.gwt.user.client.ui.HasFocus
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.IsWidget
,com.google.gwt.user.client.ui.SourcesClickEvents
,com.google.gwt.user.client.ui.SourcesFocusEvents
,com.google.gwt.user.client.ui.SourcesKeyboardEvents
,com.google.gwt.user.client.ui.SourcesMouseEvents
,GwtAceChangeCursorHandler
,GwtAceChangeHandler
,GwtAceChangeSelectionHandler
,GwtAceFocusBlurHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.widget.client.addon.aceeditor.AceEditorWidget
AceEditorWidget.AnnotationInEditor, AceEditorWidget.FocusChangeListener, AceEditorWidget.MarkerInEditor, AceEditorWidget.SelectionChangeListener, AceEditorWidget.TextChangeListener
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected int
Fields inherited from class io.jmix.ui.widget.client.addon.aceeditor.AceEditorWidget
changeListeners, doc, editor, editorId, enabled, focusChangeListener, focused, idCounter, ignoreEditorEvents, invisibleMarkers, keyboardHandler, latestInvisibleMarkerId, markerAnnotations, markerAnnsInEditor, markersInEditor, propertyReadOnly, rowAnnotations, rowAnnsInEditor, selChangeListeners, selection, text
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
protected int
int
protected com.google.gwt.dom.client.Element
void
void
onBrowserEvent
(com.google.gwt.user.client.Event event) void
final void
resetEditHistory
(GwtAceEditor editor) void
setEnabled
(boolean enabled) void
setHandleTabKey
(boolean handleTabKey) void
setPrintMarginColumn
(int printMarginColumn) void
setReadOnly
(boolean readOnly) protected void
setRendererPrintMarginColumn
(GwtAceEditor editor, int printMarginColumn) void
setTabIndex
(int index) void
unbindTabKey
(com.google.gwt.core.client.JavaScriptObject editor) protected void
Methods inherited from class io.jmix.ui.widget.client.addon.aceeditor.AceEditorWidget
addInvisibleMarker, addSelectionChangeListener, addTextChangeListener, adjustInvisibleMarkers, adjustInvisibleMarkersOnTextChange, adjustMarkerAnnotations, adjustMarkers, adjustMarkersOnTextChange, convertRange, convertSelection, createAIEfromMA, fireTextChanged, getCursorCoords, getDoc, getInvisibleMarker, getMarkerAnnotations, getMarkers, getRowAnnotations, getSelection, getText, isFocused, isInitialized, markerIsValid, moveMarkerOnInsert, moveMarkerOnRemove, nextId, onBlur, onChange, onChangeCursor, onChangeSelection, onFocus, overlapping, removeContentsOfInvisibleMarker, removeInvisibleMarker, removeMarkers, removeSelectionChangeListener, removeTextChangeListener, resize, rowOfMarker, scrollToRow, selectionChanged, setAnnotations, setAnnotationsToEditor, setDisplayIndentGuides, setDoc, setFocus, setFocusChangeListener, setFontSize, setHeight, setHighlightActiveLineEnabled, setHighlightSelectedWord, setKeyboardHandler, setMarkers, setMode, setPropertyReadOnly, setSelection, setSelection, setShowGutter, setShowInvisibles, setShowPrintMargin, setTabSize, setText, setTextAndAdjust, setTheme, setUseSoftTabs, setUseWorker, setWidth, setWordwrap, updateMarkers
Methods inherited from class com.google.gwt.user.client.ui.FocusWidget
addBlurHandler, addClickHandler, addClickListener, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addFocusHandler, addFocusListener, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addKeyboardListener, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, getFocusImpl, isEnabled, onAttach, removeClickListener, removeFocusListener, removeKeyboardListener, removeMouseListener, removeMouseWheelListener, setAccessKey
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, sinkBitlessEvent, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
-
Field Details
-
readOnly
protected boolean readOnly -
tabIndex
protected int tabIndex -
handleTabKey
protected boolean handleTabKey
-
-
Constructor Details
-
JmixSourceCodeEditorWidget
public JmixSourceCodeEditorWidget()
-
-
Method Details
-
initialize
public void initialize()- Overrides:
initialize
in classAceEditorWidget
-
onBrowserEvent
public void onBrowserEvent(com.google.gwt.user.client.Event event) - Specified by:
onBrowserEvent
in interfacecom.google.gwt.user.client.EventListener
- Overrides:
onBrowserEvent
in classcom.google.gwt.user.client.ui.Widget
-
getTextAreaElement
protected com.google.gwt.dom.client.Element getTextAreaElement() -
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabled
in interfacecom.google.gwt.user.client.ui.HasEnabled
- Overrides:
setEnabled
in classAceEditorWidget
-
updateTabIndex
protected void updateTabIndex() -
setTabIndex
public void setTabIndex(int index) - Specified by:
setTabIndex
in interfacecom.google.gwt.user.client.ui.Focusable
- Overrides:
setTabIndex
in classcom.google.gwt.user.client.ui.FocusWidget
-
getTabIndex
public int getTabIndex()- Specified by:
getTabIndex
in interfacecom.google.gwt.user.client.ui.Focusable
- Overrides:
getTabIndex
in classcom.google.gwt.user.client.ui.FocusWidget
-
setReadOnly
public void setReadOnly(boolean readOnly) - Overrides:
setReadOnly
in classAceEditorWidget
-
setHandleTabKey
public void setHandleTabKey(boolean handleTabKey) -
getPrintMarginColumn
public int getPrintMarginColumn() -
setPrintMarginColumn
public void setPrintMarginColumn(int printMarginColumn) -
unbindTabKey
public void unbindTabKey(com.google.gwt.core.client.JavaScriptObject editor) -
setRendererPrintMarginColumn
-
getRendererPrintMarginColumn
-
resetEditHistory
public void resetEditHistory() -
resetEditHistory
-