Gridarta Editor
net.sf.gridarta.textedit.textarea.TextAreaCaret Class Reference
+ Collaboration diagram for net.sf.gridarta.textedit.textarea.TextAreaCaret:

Public Member Functions

boolean blinkCaret ()
 Blinks the caret. More...
 
boolean isCaretVisible ()
 Returns true if the caret is visible, false otherwise. More...
 
void setBlink (final boolean blink)
 
void setCaretVisible (final boolean caretVisible)
 Sets if the caret should be visible. More...
 
 TextAreaCaret (final boolean caretVisible, final boolean caretBlinks)
 

Private Attributes

boolean blink = true
 
final boolean caretBlinks
 
boolean caretVisible
 

Detailed Description

Definition at line 22 of file TextAreaCaret.java.

Constructor & Destructor Documentation

◆ TextAreaCaret()

net.sf.gridarta.textedit.textarea.TextAreaCaret.TextAreaCaret ( final boolean  caretVisible,
final boolean  caretBlinks 
)

Member Function Documentation

◆ blinkCaret()

boolean net.sf.gridarta.textedit.textarea.TextAreaCaret.blinkCaret ( )

Blinks the caret.

Definition at line 54 of file TextAreaCaret.java.

References net.sf.gridarta.textedit.textarea.TextAreaCaret.blink.

Referenced by net.sf.gridarta.textedit.textarea.JEditTextArea.blinkCaret().

+ Here is the caller graph for this function:

◆ isCaretVisible()

boolean net.sf.gridarta.textedit.textarea.TextAreaCaret.isCaretVisible ( )

Returns true if the caret is visible, false otherwise.

Definition at line 38 of file TextAreaCaret.java.

References net.sf.gridarta.textedit.textarea.TextAreaCaret.caretVisible.

Referenced by net.sf.gridarta.textedit.textarea.TextAreaPainter.paintCaret().

+ Here is the caller graph for this function:

◆ setBlink()

void net.sf.gridarta.textedit.textarea.TextAreaCaret.setBlink ( final boolean  blink)

Definition at line 64 of file TextAreaCaret.java.

References net.sf.gridarta.textedit.textarea.TextAreaCaret.blink.

Referenced by net.sf.gridarta.textedit.textarea.JEditTextArea.select().

+ Here is the caller graph for this function:

◆ setCaretVisible()

void net.sf.gridarta.textedit.textarea.TextAreaCaret.setCaretVisible ( final boolean  caretVisible)

Sets if the caret should be visible.

Parameters
caretVisibletrue if the caret should be visible, false otherwise

Definition at line 46 of file TextAreaCaret.java.

References net.sf.gridarta.textedit.textarea.TextAreaCaret.caretVisible.

Referenced by net.sf.gridarta.textedit.textarea.JEditTextArea.setCaretVisible().

+ Here is the caller graph for this function:

Member Data Documentation

◆ blink

boolean net.sf.gridarta.textedit.textarea.TextAreaCaret.blink = true
private

◆ caretBlinks

final boolean net.sf.gridarta.textedit.textarea.TextAreaCaret.caretBlinks
private

◆ caretVisible


The documentation for this class was generated from the following file: