com.datamessenger.awt.graphics
Class CaretPane


java.lang.Object

  |

  +--java.awt.geom.RectangularShape

        |

        +--java.awt.geom.Rectangle2D

              |

              +--java.awt.Rectangle

                    |

                    +--com.datamessenger.awt.graphics.GraphicsPane

                          |

                          +--com.datamessenger.awt.graphics.TextSelectorPane

                                |

                                +--com.datamessenger.awt.graphics.CaretPane


public class CaretPane
extends TextSelectorPane
implements TimerItem

See Also:
Serialized Form

Inner classes inherited from class java.awt.geom.Rectangle2D
java.awt.geom.Rectangle2D.Double, java.awt.geom.Rectangle2D.Float
 
Field Summary
static boolean insert
           
protected  MilliTimer timer
           
 
Fields inherited from class com.datamessenger.awt.graphics.TextSelectorPane
cwid, endPos, startPos, text
 
Fields inherited from class com.datamessenger.awt.graphics.GraphicsPane
colors, colorState, isTransparent, paneList, silentValidate
 
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
CaretPane(int blink)
           
 
Method Summary
 int getPadding()
           
 int getPosition()
           
 boolean incrementTimer(int step)
           
 void layout()
           
 void pack()
           
 void setContainerContext(ContainerContext context)
          Set automatically when the component is added to a ContainerPane.
 void setPosition(int index)
           
 
Methods inherited from class com.datamessenger.awt.graphics.TextSelectorPane
getIndexAt, getSelectionEnd, getSelectionStart, paint, select
 
Methods inherited from class com.datamessenger.awt.graphics.GraphicsPane
add, getBorder, getColors, getColorScheme, getComponent, getContainerContext, getFont, getLayout, getLayoutBounds, getTree, invalidate, layoutGraphics, paintGraphics, remove, repaint, revalidate, setBorder, setColorScheme, setFont, setLayout, translate, translate
 
Methods inherited from class java.awt.Rectangle
add, add, add, contains, contains, contains, contains, createIntersection, createUnion, equals, getBounds, getBounds2D, getHeight, getLocation, getSize, getWidth, getX, getY, grow, inside, intersection, intersects, isEmpty, move, outcode, reshape, resize, setBounds, setBounds, setLocation, setLocation, setRect, setSize, setSize, toString, 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
 

Field Detail

timer


protected MilliTimer timer

insert


public static boolean insert
Constructor Detail

CaretPane


public CaretPane(int blink)
Method Detail

setContainerContext


public void setContainerContext(ContainerContext context)
Description copied from class: GraphicsPane
Set automatically when the component is added to a ContainerPane.
Overrides:
setContainerContext in class TextSelectorPane

pack


public void pack()
Overrides:
pack in class GraphicsPane

setPosition


public void setPosition(int index)

getPosition


public int getPosition()

getPadding


public int getPadding()

layout


public void layout()
Overrides:
layout in class TextSelectorPane

incrementTimer


public boolean incrementTimer(int step)
Specified by:
incrementTimer in interface TimerItem


Comments, suggestions, and bug reports are welcomed and encouraged.
Please refer them to our support page. Thank you.

Copyright © 1999-2001 Produx House, Corp. All rights reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc.