|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.awt.Component
|
+--com.datamessenger.awt.DMComponent
|
+--com.datamessenger.awt.DMLabel
|
+--com.datamessenger.awt.DMTextComponent
| Inner classes inherited from class com.datamessenger.awt.DMComponent |
DMComponent.DataListener |
| Field Summary | |
protected CaretPane |
caret
|
protected int |
caretPos
|
protected TextSelectorPane |
selector
|
| Fields inherited from class com.datamessenger.awt.DMLabel |
text |
| Fields inherited from class com.datamessenger.awt.DMComponent |
adapter,
colors,
isAdjusting,
pane,
preferredSize,
selected |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
| Constructor Summary | |
DMTextComponent(java.lang.String label,
double align)
|
|
| Method Summary | |
void |
addTextListener(java.awt.event.TextListener l)
|
void |
copy()
|
void |
cut()
|
void |
delete()
|
int |
getCaretPosition()
|
java.lang.String |
getSelectedText()
|
TextSelectorPane |
getTextSelectorPane()
|
void |
insert(java.lang.String str)
|
boolean |
isEditable()
|
static boolean |
isTextCharacter(char c)
|
void |
paste()
|
protected void |
processFocusEvent(java.awt.event.FocusEvent e)
|
protected void |
processKeyEvent(java.awt.event.KeyEvent e)
|
protected void |
processMouseEvent(java.awt.event.MouseEvent e)
|
protected void |
processMouseMotionEvent(java.awt.event.MouseEvent e)
|
void |
removeTextListener(java.awt.event.TextListener l)
|
void |
select(int strPos,
int endPos)
|
void |
selectAll()
|
void |
selectWord()
|
void |
setCaretPosition(int index)
|
void |
setChar(char c)
|
void |
setEditable(boolean edit)
|
void |
setText(java.lang.String value)
|
| Methods inherited from class com.datamessenger.awt.DMLabel |
getText,
getTextPane,
getValue,
invalidate,
setValue |
| Methods inherited from class com.datamessenger.awt.DMComponent |
getColorScheme,
getComponent,
getGraphicsPane,
getLayoutBounds,
getListenerList,
getMinimumSize,
getPreferredSize,
isSelected,
paint,
setColorScheme,
setDataCell,
setGraphicsPane,
setSelected,
update |
| Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addNotify,
addPropertyChangeListener,
addPropertyChangeListener,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
contains,
createImage,
createImage,
deliverEvent,
disable,
disableEvents,
dispatchEvent,
doLayout,
enable,
enable,
enableEvents,
enableInputMethods,
firePropertyChange,
getAlignmentX,
getAlignmentY,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentAt,
getComponentAt,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getHeight,
getInputContext,
getInputMethodRequests,
getLocale,
getLocation,
getLocation,
getLocationOnScreen,
getMaximumSize,
getName,
getParent,
getPeer,
getSize,
getSize,
getToolkit,
getTreeLock,
getWidth,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
hide,
imageUpdate,
inside,
isDisplayable,
isDoubleBuffered,
isEnabled,
isFocusTraversable,
isLightweight,
isOpaque,
isShowing,
isValid,
isVisible,
keyDown,
keyUp,
layout,
list,
list,
list,
list,
list,
locate,
location,
lostFocus,
minimumSize,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
paramString,
postEvent,
preferredSize,
prepareImage,
prepareImage,
print,
printAll,
processComponentEvent,
processEvent,
processInputMethodEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removeNotify,
removePropertyChangeListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
resize,
resize,
setBackground,
setBounds,
setBounds,
setComponentOrientation,
setCursor,
setDropTarget,
setEnabled,
setFont,
setForeground,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
setVisible,
show,
show,
size,
toString,
transferFocus,
validate |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
protected TextSelectorPane selector
protected CaretPane caret
protected int caretPos
| Constructor Detail |
public DMTextComponent(java.lang.String label,
double align)
| Method Detail |
public void addTextListener(java.awt.event.TextListener l)
public void removeTextListener(java.awt.event.TextListener l)
public void setText(java.lang.String value)
public TextSelectorPane getTextSelectorPane()
public java.lang.String getSelectedText()
public void select(int strPos,
int endPos)
public void selectWord()
public void selectAll()
public boolean isEditable()
public void setEditable(boolean edit)
public int getCaretPosition()
public void setCaretPosition(int index)
public void delete()
public void insert(java.lang.String str)
public void setChar(char c)
public void cut()
public void copy()
public void paste()
protected void processFocusEvent(java.awt.event.FocusEvent e)
public static boolean isTextCharacter(char c)
protected void processMouseEvent(java.awt.event.MouseEvent e)
protected void processMouseMotionEvent(java.awt.event.MouseEvent e)
protected void processKeyEvent(java.awt.event.KeyEvent e)
|
|||||||||
| 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.