Class FlatRSyntaxTextAreaUI.FlatConfigurableCaret

  • All Implemented Interfaces:
    java.awt.event.FocusListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.Shape, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.text.Caret
    Enclosing class:
    FlatRSyntaxTextAreaUI

    private static class FlatRSyntaxTextAreaUI.FlatConfigurableCaret
    extends org.fife.ui.rtextarea.ConfigurableCaret
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.fife.ui.rtextarea.ConfigurableCaret

        org.fife.ui.rtextarea.ConfigurableCaret.SelectionType
      • Nested classes/interfaces inherited from class java.awt.geom.Rectangle2D

        java.awt.geom.Rectangle2D.Double, java.awt.geom.Rectangle2D.Float
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int dragSelectionEnd  
      private int dragSelectionStart  
      private boolean isLineSelection  
      private boolean isWordSelection  
      • Fields inherited from class javax.swing.text.DefaultCaret

        ALWAYS_UPDATE, changeEvent, listenerList, NEVER_UPDATE, UPDATE_WHEN_ON_EDT
      • Fields inherited from class java.awt.Rectangle

        height, width, x, y
      • Fields inherited from class java.awt.geom.Rectangle2D

        OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void mouseDragged​(java.awt.event.MouseEvent e)  
      void mousePressed​(java.awt.event.MouseEvent e)  
      void mouseReleased​(java.awt.event.MouseEvent e)  
      private void select​(int mark, int dot)  
      • Methods inherited from class org.fife.ui.rtextarea.ConfigurableCaret

        damage, deinstall, getPasteOnMiddleMouseClick, getRoundedSelectionEdges, getSelectionPainter, getStyle, getTextArea, install, isAlwaysVisible, mouseClicked, paint, setAlwaysVisible, setPasteOnMiddleMouseClick, setRoundedSelectionEdges, setSelectionVisible, setStyle
      • Methods inherited from class javax.swing.text.DefaultCaret

        addChangeListener, adjustVisibility, equals, fireStateChanged, focusGained, focusLost, getBlinkRate, getChangeListeners, getComponent, getDot, getDotBias, getListeners, getMagicCaretPosition, getMark, getMarkBias, getUpdatePolicy, isActive, isSelectionVisible, isVisible, mouseEntered, mouseExited, mouseMoved, moveCaret, moveDot, moveDot, positionCaret, removeChangeListener, repaint, setBlinkRate, setDot, setDot, setMagicCaretPosition, setUpdatePolicy, setVisible, toString
      • Methods inherited from class java.awt.Rectangle

        add, add, add, contains, contains, contains, contains, createIntersection, createUnion, getBounds, getBounds2D, getHeight, getLocation, getSize, getWidth, getX, getY, grow, inside, intersection, intersects, isEmpty, move, outcode, reshape, resize, setBounds, setBounds, setLocation, setLocation, setRect, setSize, setSize, translate, union
      • Methods inherited from class java.awt.geom.Rectangle2D

        add, add, add, contains, contains, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, setRect, union
      • Methods inherited from class java.awt.geom.RectangularShape

        clone, contains, contains, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.awt.Shape

        contains, contains, contains, contains, getPathIterator, getPathIterator, intersects, intersects
    • Field Detail

      • isWordSelection

        private boolean isWordSelection
      • isLineSelection

        private boolean isLineSelection
      • dragSelectionStart

        private int dragSelectionStart
      • dragSelectionEnd

        private int dragSelectionEnd
    • Constructor Detail

      • FlatConfigurableCaret

        private FlatConfigurableCaret()
    • Method Detail

      • mousePressed

        public void mousePressed​(java.awt.event.MouseEvent e)
        Specified by:
        mousePressed in interface java.awt.event.MouseListener
        Overrides:
        mousePressed in class org.fife.ui.rtextarea.ConfigurableCaret
      • mouseReleased

        public void mouseReleased​(java.awt.event.MouseEvent e)
        Specified by:
        mouseReleased in interface java.awt.event.MouseListener
        Overrides:
        mouseReleased in class org.fife.ui.rtextarea.ConfigurableCaret
      • mouseDragged

        public void mouseDragged​(java.awt.event.MouseEvent e)
        Specified by:
        mouseDragged in interface java.awt.event.MouseMotionListener
        Overrides:
        mouseDragged in class org.fife.ui.rtextarea.ConfigurableCaret
      • select

        private void select​(int mark,
                            int dot)