|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.text.JTextComponent
javax.swing.JTextField
javax.swing.JPasswordField
org.compiere.swing.CPassword
org.compiere.grid.ed.VPassword
public final class VPassword
Data Binding: VEditors call fireVetoableChange(m_columnName, null, getText()); GridController (for Single-Row) and VCellExitor (for Multi-Row) listen to Vetoable Change Listener (vetoableChange) then set the value for that column in the current row in the table
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPasswordField |
|---|
JPasswordField.AccessibleJPasswordField |
| Nested classes/interfaces inherited from class javax.swing.JTextField |
|---|
JTextField.AccessibleJTextField |
| Nested classes/interfaces inherited from class javax.swing.text.JTextComponent |
|---|
JTextComponent.AccessibleJTextComponent, JTextComponent.DropLocation, JTextComponent.KeyBinding |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JTextField |
|---|
notifyAction |
| Fields inherited from class javax.swing.text.JTextComponent |
|---|
DEFAULT_KEYMAP, FOCUS_ACCELERATOR_KEY |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
VPassword()
IDE Bean Constructor for 30 character updateable field |
|
VPassword(String columnName,
boolean mandatory,
boolean isReadOnly,
boolean isUpdateable,
int displayLength,
int fieldLength,
String VFormat)
Detail Constructor |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Data Binding to MTable (via GridController) - Enter pressed |
void |
dispose()
Dispose |
String |
getDisplay()
Return Display Value |
GridField |
getField()
Get Field |
Component |
getFocusableComponent()
Get Focus Component |
Object |
getValue()
Return Editor value |
void |
keyPressed(KeyEvent e)
|
void |
keyReleased(KeyEvent e)
Key Listener. |
void |
keyTyped(KeyEvent e)
Key Listener Interface |
void |
propertyChange(PropertyChangeEvent evt)
Property Change Listener |
void |
setField(GridField mField)
Set Field/WindowNo |
void |
setValue(Object value)
Set Editor to value |
| Methods inherited from class org.compiere.swing.CPassword |
|---|
isMandatory, isReadWrite, setBackground, setBackground, setMandatory, setReadWrite |
| Methods inherited from class javax.swing.JPasswordField |
|---|
copy, cut, echoCharIsSet, getAccessibleContext, getEchoChar, getPassword, getText, getText, getUIClassID, paramString, setEchoChar, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.compiere.grid.ed.VEditor |
|---|
addActionListener, addVetoableChangeListener, getName, removeActionListener, removeVetoableChangeListener, setBorder, setFont, setForeground, setName |
| Methods inherited from interface org.compiere.swing.CEditor |
|---|
isMandatory, isReadWrite, setBackground, setMandatory, setReadWrite, setVisible |
| Constructor Detail |
|---|
public VPassword()
public VPassword(String columnName,
boolean mandatory,
boolean isReadOnly,
boolean isUpdateable,
int displayLength,
int fieldLength,
String VFormat)
columnName - column namemandatory - mandatoryisReadOnly - read onlyisUpdateable - updateabledisplayLength - display lengthfieldLength - field lengthVFormat - format| Method Detail |
|---|
public void dispose()
dispose in interface VEditorpublic void setValue(Object value)
setValue in interface CEditorsetValue in class CPasswordvalue - valuepublic void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerevt - eventpublic Object getValue()
getValue in interface CEditorgetValue in class CPasswordpublic String getDisplay()
getDisplay in interface CEditorgetDisplay in class CPasswordpublic void keyTyped(KeyEvent e)
keyTyped in interface KeyListenere - eventpublic void keyPressed(KeyEvent e)
keyPressed in interface KeyListenerpublic void keyReleased(KeyEvent e)
keyReleased in interface KeyListenere - eventpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - eventpublic void setField(GridField mField)
setField in interface VEditormField - fieldpublic GridField getField()
getField in interface VEditorpublic Component getFocusableComponent()
getFocusableComponent in interface VEditor
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||