Class AceEditor

All Implemented Interfaces:
HasAttachHandlers, HasHandlers, EventListener, HasVisibility, IsWidget, LogicalStructure, HasAceEditorChangedHandlers, HasClearHandlers, HasClickHandlers, HasDoubleClickHandlers, HasDragMoveHandlers, HasDragRepositionMoveHandlers, HasDragRepositionStartHandlers, HasDragRepositionStopHandlers, HasDragResizeMoveHandlers, HasDragResizeStartHandlers, HasDragResizeStopHandlers, HasDragStartHandlers, HasDragStopHandlers, HasDropHandlers, HasDropMoveHandlers, HasDropOutHandlers, HasDropOverHandlers, HasFocusChangedHandlers, HasHoverHandlers, HasHoverHiddenHandlers, HasKeyDownHandlers, HasKeyPressHandlers, HasMouseDownHandlers, HasMouseMoveHandlers, HasMouseOutHandlers, HasMouseOverHandlers, HasMouseStillDownHandlers, HasMouseUpHandlers, HasMouseWheelHandlers, HasMovedHandlers, HasParentMovedHandlers, HasResizedHandlers, HasRightMouseDownHandlers, HasRuleContextChangedHandlers, HasScrolledHandlers, HasShowContextMenuHandlers, HasVisibilityChangedHandlers

public class AceEditor extends Canvas implements HasAceEditorChangedHandlers
Internal use only.
  • Constructor Details

    • AceEditor

      public AceEditor()
    • AceEditor

      public AceEditor(JavaScriptObject jsObj)
  • Method Details

    • getOrCreateRef

      public static AceEditor getOrCreateRef(JavaScriptObject jsObj)
    • changeAutoChildDefaults

      public static void changeAutoChildDefaults(String autoChildName, Canvas defaults)
      Internal use only.
    • changeAutoChildDefaults

      public static void changeAutoChildDefaults(String autoChildName, FormItem defaults)
      Internal use only.
    • create

      protected JavaScriptObject create()
      Overrides:
      create in class Canvas
    • setAutoComplete

      public AceEditor setAutoComplete(Boolean autoComplete)
      Internal use only.
    • getAutoComplete

      public Boolean getAutoComplete()
      Internal use only.
    • setLiveAutoComplete

      public AceEditor setLiveAutoComplete(Boolean liveAutoComplete)
      Internal use only.
    • getLiveAutoComplete

      public Boolean getLiveAutoComplete()
      Internal use only.
    • setMode

      public AceEditor setMode(String mode)
      Internal use only.
    • getMode

      public String getMode()
      Internal use only.
    • setReadOnly

      public AceEditor setReadOnly(Boolean readOnly)
      Internal use only.
    • getReadOnly

      public Boolean getReadOnly()
      Internal use only.
    • setValue

      public AceEditor setValue(String value)
      Internal use only.
    • getValue

      public String getValue()
      Internal use only.
    • addCompleter

      public void addCompleter(AceCompleter completer)
      Internal use only.
    • addSelectionMarker

      public AcePosition addSelectionMarker(AceRange orientedRange)
      Internal use only.
    • addAceEditorChangedHandler

      public HandlerRegistration addAceEditorChangedHandler(AceEditorChangedHandler handler)
      Internal use only.
      Specified by:
      addAceEditorChangedHandler in interface HasAceEditorChangedHandlers
      Parameters:
      handler - the aceEditorChanged handler
      Returns:
      HandlerRegistration used to remove this handler
    • clearSelection

      public void clearSelection()
      Internal use only.
    • getCursorPosition

      public AcePosition getCursorPosition()
      Internal use only.
    • getCursorPositionScreen

      public AcePosition getCursorPositionScreen()
      Internal use only.
    • getFirstVisibleRow

      public Integer getFirstVisibleRow()
      Internal use only.
    • getLastVisibleRow

      public Integer getLastVisibleRow()
      Internal use only.
    • getRenderer

      public AceRenderer getRenderer()
      Internal use only.
    • getSelectionRange

      public AceRange getSelectionRange()
      Internal use only.
    • getSession

      public AceEditSession getSession()
      Internal use only.
    • insert

      public void insert(String text)
      Internal use only.
    • isRowVisible

      public Boolean isRowVisible(Integer row)
      Internal use only.
    • redo

      public void redo()
      Internal use only.
    • removeSelectionMarker

      public void removeSelectionMarker(AceRange selectionRange)
      Internal use only.
    • setCompleters

      public void setCompleters(AceCompleter... completers)
      Internal use only.
    • setSession

      public void setSession(AceEditSession session)
      Internal use only.
    • undo

      public void undo()
      Internal use only.
    • updateSelectionMarkers

      public void updateSelectionMarkers()
      Internal use only.
    • setDefaultProperties

      public static void setDefaultProperties(AceEditor aceEditorProperties)
      Internal use only.
    • setAutoChildProperties

      public void setAutoChildProperties(String autoChildName, BaseClass properties) throws IllegalStateException
      Internal use only.
      Throws:
      IllegalStateException
    • getAceObj

      public JavaScriptObject getAceObj()
      Internal use only.
    • setLogicalStructure

      public LogicalStructureObject setLogicalStructure(AceEditorLogicalStructure s)
      Setter implementing the LogicalStructure interface, which supports Eclipse's logical structure debugging facility.
    • getLogicalStructure

      public LogicalStructureObject getLogicalStructure()
      Getter implementing the LogicalStructure interface, which supports Eclipse's logical structure debugging facility.
      Specified by:
      getLogicalStructure in interface LogicalStructure
      Overrides:
      getLogicalStructure in class Canvas