|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.TextComponent | +--java.awt.TextField | +--TabellenPanel.TabellenPanelRow.TabellenPanelCell
kapselt eine Tabellenzelle
Inner classes inherited from class java.awt.Component |
java.awt.Component.AWTTreeLock |
Field Summary | |
int |
EINGABEZEICHEN
Spaltenbezeichner (zweite Spalte) |
int |
FROMZUSTAND
Spaltenbezeichner (erste Spalte) |
private java.awt.Color |
INVALID_COLOR
Textfarbe für ungültige Eingabe |
int |
TOZUSTAND
Spaltenbezeichner (dritte Spalte) |
private int |
type
Wertetyp der Spalte (FROMZUSTAND,EINGABEZEICHEN,TOZUSTAND) |
private java.awt.Color |
VALID_COLOR
Textfarbe für gültige Eingabe |
private int |
width
Breite der Zelle |
Fields inherited from class java.awt.TextField |
actionListener,
base,
columns,
echoChar,
nameCounter,
serialVersionUID,
textFieldSerializedDataVersion |
Fields inherited from class java.awt.TextComponent |
canAccessClipboard,
editable,
selectionEnd,
selectionStart,
serialVersionUID,
text,
textComponentSerializedDataVersion,
textListener |
Fields inherited from class java.awt.Component |
actionListenerK,
adjustmentListenerK,
appContext,
assert,
background,
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
changeSupport,
componentListener,
componentListenerK,
componentOrientation,
componentSerializedDataVersion,
containerListenerK,
cursor,
dropTarget,
enabled,
eventMask,
focusListener,
focusListenerK,
font,
foreground,
hasFocus,
height,
incRate,
inputMethodListener,
inputMethodListenerK,
isInc,
isPacked,
itemListenerK,
keyListener,
keyListenerK,
LEFT_ALIGNMENT,
locale,
LOCK,
minSize,
mouseListener,
mouseListenerK,
mouseMotionListener,
mouseMotionListenerK,
name,
nameExplicitlySet,
newEventsOnly,
ownedWindowK,
parent,
peer,
peerFont,
popups,
prefSize,
RIGHT_ALIGNMENT,
serialVersionUID,
textListenerK,
TOP_ALIGNMENT,
valid,
visible,
width,
windowListenerK,
x,
y |
Constructor Summary | |
TabellenPanel.TabellenPanelRow.TabellenPanelCell(int width,
int type)
|
Method Summary | |
void |
focusGained(java.awt.event.FocusEvent e)
wird aufgerufen, wenn Zelle Fokus erhält |
void |
focusLost(java.awt.event.FocusEvent e)
wird aufgerufen, wenn Zelle Fokus verliert |
java.awt.Dimension |
getMaximumSize()
|
java.awt.Dimension |
getMinimumSize()
|
java.awt.Dimension |
getPreferredSize()
|
java.lang.Object |
getValue()
liefert das Werteobjekt zur Zelle |
boolean |
isEmpty()
prüft, on Zelle leer ist |
boolean |
isValid()
prüft, ob Zelle gültige Eingaben enthält |
void |
setText(java.lang.String s)
setzt den Text in der Zelle |
private void |
textValueChanged()
wird aufgerufen, wenn der Text der Zelle sich geändert hat |
void |
textValueChanged(java.awt.event.TextEvent e)
wird aufgerufen, wenn der Text der Zelle sich geändert hat |
Methods inherited from class java.awt.TextField |
|
Methods inherited from class java.awt.TextComponent |
addTextListener,
areInputMethodsEnabled,
checkSystemClipboardAccess,
enableInputMethodsIfNecessary,
getCaretPosition,
getSelectedText,
getSelectionEnd,
getSelectionStart,
getText,
isEditable,
processTextEvent,
removeNotify,
removeTextListener,
select,
selectAll,
setCaretPosition,
setEditable,
setSelectionEnd,
setSelectionStart |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
addPropertyChangeListener,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
contains,
createImage,
createImage,
deliverEvent,
disable,
disableEvents,
dispatchEvent,
dispatchEventImpl,
doLayout,
enable,
enable,
enableEvents,
enableInputMethods,
firePropertyChange,
getAlignmentX,
getAlignmentY,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentAt,
getComponentAt,
getComponentOrientation,
getCursor,
getDropTarget,
getFont_NoClientCode,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getHeight,
getInputContext,
getInputMethodRequests,
getLocale,
getLocation,
getLocation,
getLocationOnScreen,
getName,
getNativeContainer,
getParent_NoClientCode,
getParent,
getPeer,
getSize,
getSize,
getToolkit,
getToolkitImpl,
getTreeLock,
getWidth,
getWindowForObject,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
hide,
imageUpdate,
inside,
invalidate,
isDisplayable,
isDoubleBuffered,
isEnabled,
isEnabledImpl,
isFocusTraversable,
isLightweight,
isOpaque,
isShowing,
isVisible,
keyDown,
keyUp,
layout,
lightweightPrint,
list,
list,
list,
list,
list,
locate,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paint,
paintAll,
postEvent,
postsOldMouseEvents,
prepareImage,
prepareImage,
print,
printAll,
processComponentEvent,
processFocusEvent,
processInputMethodEvent,
processKeyEvent,
processMouseEvent,
processMouseMotionEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
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,
update,
validate |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
Field Detail |
private int width
public final int FROMZUSTAND
public final int EINGABEZEICHEN
public final int TOZUSTAND
private final java.awt.Color VALID_COLOR
private final java.awt.Color INVALID_COLOR
private int type
Constructor Detail |
public TabellenPanel.TabellenPanelRow.TabellenPanelCell(int width, int type)
width
- Breite der Zelletype
- Wertetyp der Zelle (FROMZUSTAND,EINGABEZEICHEN,TOZUSTAND)Method Detail |
public java.awt.Dimension getPreferredSize()
public java.awt.Dimension getMinimumSize()
public java.awt.Dimension getMaximumSize()
public void focusGained(java.awt.event.FocusEvent e)
public void focusLost(java.awt.event.FocusEvent e)
private void textValueChanged()
public void textValueChanged(java.awt.event.TextEvent e)
public void setText(java.lang.String s)
s
- neuer Text in der Zellepublic boolean isEmpty()
public java.lang.Object getValue()
public boolean isValid()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |