|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.awt.geom.RectangularShape
java.awt.geom.Rectangle2D
java.awt.Rectangle
javax.swing.text.DefaultCaret
pt.moredata.widgets.Caret
Title: DataCaret
Description: Beans para criação de forms
Cursores diversos a volta do fregues Copyright:
Copyright (C) 2002 Moredata This program is free
software; you can redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version. This
program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details. You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation, Inc,
59 Temple Place-Suite 330, Boston, MA 02111-1307, USA. Company : Moredata
| Nested Class Summary |
| Nested classes inherited from class java.awt.geom.Rectangle2D |
java.awt.geom.Rectangle2D.Double, java.awt.geom.Rectangle2D.Float |
| Field Summary | |
static int |
THICK
Description of the Field |
static int |
THIN
Description of the Field |
| Fields inherited from class javax.swing.text.DefaultCaret |
changeEvent, listenerList |
| 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 |
| Constructor Summary | |
Caret()
Construtor do cursor |
|
| Method Summary | |
protected void |
damage(java.awt.Rectangle r)
Reescreve a area relativa ao sitio onde estava o cursor |
void |
paint(java.awt.Graphics g)
Afecta a cor do cursor |
void |
paintThick(java.awt.Graphics g)
Pinta um cursor em triangulo |
void |
setCaretType(int _caretType)
Afecta tipo do cursor |
void |
setCaretWidth(int _caretWidth)
Afecta a grossura do cursor |
| Methods inherited from class javax.swing.text.DefaultCaret |
addChangeListener, adjustVisibility, deinstall, equals, fireStateChanged, focusGained, focusLost, getBlinkRate, getChangeListeners, getComponent, getDot, getListeners, getMagicCaretPosition, getMark, getSelectionPainter, install, isSelectionVisible, isVisible, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, moveCaret, moveDot, positionCaret, removeChangeListener, repaint, setBlinkRate, setDot, setMagicCaretPosition, setSelectionVisible, 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 |
public static final int THIN
public static final int THICK
| Constructor Detail |
public Caret()
| Method Detail |
public void setCaretType(int _caretType)
_caretType - The new caretType valuepublic void setCaretWidth(int _caretWidth)
_caretWidth - The new caretWidth valuepublic void paint(java.awt.Graphics g)
g - Description of the Parameterpublic void paintThick(java.awt.Graphics g)
g - Description of the Parameterprotected void damage(java.awt.Rectangle r)
r - Description of the Parameter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||