|
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
org.compiere.grid.ed.VAccount
public final class VAccount
Account Control - Displays ValidCombination and launches Dialog
| Nested Class Summary |
|---|
| 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.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 java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
VAccount(String columnName,
boolean mandatory,
boolean isReadOnly,
boolean isUpdateable,
MAccountLookup mAccount,
String title)
Constructor |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
ActionListener - Button - Start Dialog |
void |
addActionListener(ActionListener listener)
Action Listener Interface |
void |
cmd_button()
Button - Start Dialog |
void |
cmd_text()
Text - try to find Alias or start Dialog |
void |
dispose()
Dispose |
String |
getDisplay()
Return Display Value |
GridField |
getField()
Get Field |
Component |
getFocusableComponent()
Get Focus Component |
Object |
getValue()
Return Editor value |
boolean |
isMandatory()
Is it mandatory |
boolean |
isReadWrite()
IsReadWrite |
void |
propertyChange(PropertyChangeEvent evt)
Property Change Listener |
void |
removeActionListener(ActionListener listener)
Action Listener Interface |
void |
requestFocus()
Request Focus |
boolean |
requestFocusInWindow()
Request Focus In Window |
void |
setBackground(boolean error)
Set Background based on editable / mandatory / error |
void |
setBackground(Color color)
Set Background |
void |
setField(GridField mField)
Set Field/WindowNo |
void |
setForeground(Color fg)
Set Foreground |
void |
setMandatory(boolean mandatory)
Set Mandatory (and back bolor) |
void |
setReadWrite(boolean value)
Enable/disable |
void |
setValue(Object value)
Set Editor to value |
String |
toString()
String Representation |
| 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 |
|---|
addVetoableChangeListener, getName, removeVetoableChangeListener, setBorder, setFont, setName |
| Methods inherited from interface org.compiere.swing.CEditor |
|---|
setVisible |
| Constructor Detail |
|---|
public VAccount(String columnName,
boolean mandatory,
boolean isReadOnly,
boolean isUpdateable,
MAccountLookup mAccount,
String title)
columnName - mandatory - isReadOnly - isUpdateable - mAccount - title - | Method Detail |
|---|
public void dispose()
dispose in interface VEditorpublic void setReadWrite(boolean value)
setReadWrite in interface CEditorvalue - public boolean isReadWrite()
isReadWrite in interface CEditorpublic void setMandatory(boolean mandatory)
setMandatory in interface CEditormandatory - public boolean isMandatory()
isMandatory in interface CEditorpublic void setBackground(Color color)
setBackground in class JComponentcolor - public void setBackground(boolean error)
setBackground in interface CEditorerror - if true, set background to error color, otherwise mandatory/editablepublic void setForeground(Color fg)
setForeground in interface VEditorsetForeground in class JComponentfg - public void setValue(Object value)
setValue in interface CEditorvalue - public void requestFocus()
requestFocus in class JComponentpublic boolean requestFocusInWindow()
requestFocusInWindow in class JComponentpublic Component getFocusableComponent()
getFocusableComponent in interface VEditorpublic void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerevt - public Object getValue()
getValue in interface CEditorpublic String getDisplay()
getDisplay in interface CEditorpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - public void cmd_button()
public void cmd_text()
public void addActionListener(ActionListener listener)
addActionListener in interface VEditorlistener - public void removeActionListener(ActionListener listener)
removeActionListener in interface VEditorlistener - public void setField(GridField mField)
setField in interface VEditormField - fieldpublic GridField getField()
getField in interface VEditorpublic String toString()
toString in class Component
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||