|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.awt.geom.RectangularShape
|
+--java.awt.geom.Rectangle2D
|
+--java.awt.Rectangle
|
+--com.datamessenger.awt.graphics.GraphicsPane
|
+--com.datamessenger.awt.graphics.TextSelectorPane
| Inner classes inherited from class java.awt.geom.Rectangle2D |
java.awt.geom.Rectangle2D.Double,
java.awt.geom.Rectangle2D.Float |
| Field Summary | |
protected int[] |
cwid
|
protected int |
endPos
|
protected int |
startPos
|
protected TextPane |
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 | |
TextSelectorPane()
|
|
| Method Summary | |
int |
getIndexAt(int pixel)
Note: pixel must be relative to the TextPane |
int |
getSelectionEnd()
|
int |
getSelectionStart()
|
void |
layout()
|
void |
paint(java.awt.Graphics g)
|
void |
select(int strPos,
int endPos)
|
void |
setContainerContext(ContainerContext context)
Set automatically when the component is added to a ContainerPane. |
| Methods inherited from class com.datamessenger.awt.graphics.GraphicsPane |
add,
getBorder,
getColors,
getColorScheme,
getComponent,
getContainerContext,
getFont,
getLayout,
getLayoutBounds,
getTree,
invalidate,
layoutGraphics,
pack,
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 |
protected TextPane text
protected int startPos
protected int endPos
protected int[] cwid
| Constructor Detail |
public TextSelectorPane()
| Method Detail |
public void setContainerContext(ContainerContext context)
public void select(int strPos,
int endPos)
public int getSelectionStart()
public int getSelectionEnd()
public int getIndexAt(int pixel)
public void layout()
public void paint(java.awt.Graphics g)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
| 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.