Class FlatRSyntaxTextAreaUI.FlatConfigurableCaret
java.lang.Object
java.awt.geom.RectangularShape
java.awt.geom.Rectangle2D
java.awt.Rectangle
javax.swing.text.DefaultCaret
org.fife.ui.rtextarea.ConfigurableCaret
com.formdev.flatlaf.themeeditor.FlatRSyntaxTextAreaUI.FlatConfigurableCaret
- All Implemented Interfaces:
FocusListener, MouseListener, MouseMotionListener, Shape, Serializable, Cloneable, EventListener, 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.SelectionTypeNested classes/interfaces inherited from class Rectangle2D
Rectangle2D.Double, Rectangle2D.Float -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate booleanprivate booleanFields inherited from class DefaultCaret
ALWAYS_UPDATE, changeEvent, listenerList, NEVER_UPDATE, UPDATE_WHEN_ON_EDTFields inherited from class Rectangle2D
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.fife.ui.rtextarea.ConfigurableCaret
damage, deinstall, getPasteOnMiddleMouseClick, getRoundedSelectionEdges, getSelectionPainter, getStyle, getTextArea, install, isAlwaysVisible, mouseClicked, paint, setAlwaysVisible, setPasteOnMiddleMouseClick, setRoundedSelectionEdges, setSelectionVisible, setStyleMethods inherited from class 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, toStringMethods inherited from class 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, unionMethods inherited from class Rectangle2D
add, add, add, contains, contains, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, setRect, unionMethods inherited from class RectangularShape
clone, contains, contains, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonalMethods inherited from interface Shape
contains, contains, contains, contains, getPathIterator, getPathIterator, intersects, intersects
-
Field Details
-
isWordSelection
private boolean isWordSelection -
isLineSelection
private boolean isLineSelection -
dragSelectionStart
private int dragSelectionStart -
dragSelectionEnd
private int dragSelectionEnd
-
-
Constructor Details
-
FlatConfigurableCaret
private FlatConfigurableCaret()
-
-
Method Details
-
mousePressed
- Specified by:
mousePressedin interfaceMouseListener- Overrides:
mousePressedin classorg.fife.ui.rtextarea.ConfigurableCaret
-
mouseReleased
- Specified by:
mouseReleasedin interfaceMouseListener- Overrides:
mouseReleasedin classorg.fife.ui.rtextarea.ConfigurableCaret
-
mouseDragged
- Specified by:
mouseDraggedin interfaceMouseMotionListener- Overrides:
mouseDraggedin classorg.fife.ui.rtextarea.ConfigurableCaret
-
select
private void select(int mark, int dot)
-