|
Adempiere 3.5.2a | |||||||||
| 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.VLocation
public class VLocation
Location Control (Address)
| 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 | |
|---|---|
VLocation(GridTab gridTab,
String columnName,
boolean mandatory,
boolean isReadOnly,
boolean isUpdateable,
MLocationLookup mLocation)
Constructor |
|
VLocation(String columnName,
boolean mandatory,
boolean isReadOnly,
boolean isUpdateable,
MLocationLookup mLocation)
Constructor |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
ActionListener - Button - Start Dialog |
void |
addActionListener(ActionListener listener)
Action Listener Interface |
void |
dispose()
Dispose |
int |
getC_Location_ID()
Return Editor value |
String |
getDisplay()
Return Display Value |
Object |
getValue()
Return Editor value |
boolean |
isMandatory()
Is it mandatory |
boolean |
isReadWrite()
IsReadWrite |
void |
propertyChange(PropertyChangeEvent evt)
Property Change Listener |
void |
requestFocus()
Request Focus |
void |
setBackground(boolean error)
Set Background based on editable / mandatory / error |
void |
setBackground(Color color)
Set Background |
void |
setField(GridField mField)
Set Field/WindowNo for ValuePreference (NOP) |
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 |
| 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 VLocation(String columnName,
boolean mandatory,
boolean isReadOnly,
boolean isUpdateable,
MLocationLookup mLocation)
columnName - column namemandatory - mandatoryisReadOnly - read onlyisUpdateable - updateablemLocation - location model
public VLocation(GridTab gridTab,
String columnName,
boolean mandatory,
boolean isReadOnly,
boolean isUpdateable,
MLocationLookup mLocation)
gridTab - columnName - column namemandatory - mandatoryisReadOnly - read onlyisUpdateable - updateablemLocation - location model| Method Detail |
|---|
public void dispose()
dispose in interface VEditorpublic void setReadWrite(boolean value)
setReadWrite in interface CEditorvalue - true if ReadWritepublic boolean isReadWrite()
isReadWrite in interface CEditorpublic void setMandatory(boolean mandatory)
setMandatory in interface CEditormandatory - true if mandatorypublic boolean isMandatory()
isMandatory in interface CEditorpublic void setBackground(Color color)
setBackground in class JComponentcolor - colorpublic 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 - colorpublic void setValue(Object value)
setValue in interface CEditorvalue - valuepublic void requestFocus()
requestFocus in class JComponentpublic void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerevt - PropertyChangeEventpublic Object getValue()
getValue in interface CEditorpublic int getC_Location_ID()
public String getDisplay()
getDisplay in interface CEditorpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - ActionEventpublic void addActionListener(ActionListener listener)
addActionListener in interface VEditorlistener - listenerpublic void setField(GridField mField)
setField in interface VEditormField - Model Field
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||