|
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
javax.swing.AbstractButton
javax.swing.JButton
org.compiere.swing.CButton
org.compiere.grid.ed.VButton
public final class VButton
General Button.
Special Buttons:
Payment,
Processing,
CreateFrom,
Record_ID - Zoom
Maintains all values for display in m_values.
see org.compiere.apps.APanel#actionButton(VButton)
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JButton |
|---|
JButton.AccessibleJButton |
| Nested classes/interfaces inherited from class javax.swing.AbstractButton |
|---|
AbstractButton.AccessibleAbstractButton, AbstractButton.ButtonChangeListener |
| 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 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 | |
|---|---|
VButton(String columnName,
boolean mandatory,
boolean isReadOnly,
boolean isUpdateable,
String text,
String description,
String help,
int AD_Process_ID)
Constructor |
|
| Method Summary | |
|---|---|
void |
addActionListener(ActionListener aListener)
Add ActionListener |
void |
dispose()
Dispose |
String |
getColumnName()
Get ColumnName |
String |
getDescription()
Get Description |
String |
getDisplay()
Return Display Value |
String |
getHelp()
Get Help |
int |
getProcess_ID()
Get AD_Process_ID |
char |
getSavedMnemonic()
|
Object |
getValue()
Return Value |
HashMap |
getValues()
Return value/name |
boolean |
isMandatory()
Mandatory? |
void |
propertyChange(PropertyChangeEvent evt)
Property Change Listener |
void |
setBackground(boolean error)
Set Background - NOP |
void |
setField(GridField mField)
Set Field/WindowNo for ValuePreference |
void |
setMandatory(boolean mandatory)
Set Mandatory - NOP |
void |
setSavedMnemonic(char savedMnemonic)
|
void |
setValue(Object value)
Set Value |
String |
toString()
String representation |
| Methods inherited from class org.compiere.swing.CButton |
|---|
getBackgroundColor, isReadWrite, setActionCommand, setBackground, setBackgroundColor, setBackgroundColor, setMnemonic, setReadWrite, setText, setToolTipText |
| Methods inherited from class javax.swing.JButton |
|---|
getAccessibleContext, getUIClassID, isDefaultButton, isDefaultCapable, paramString, removeNotify, setDefaultCapable, 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 |
|---|
addVetoableChangeListener, getName, removeVetoableChangeListener, setBorder, setFont, setForeground, setName |
| Methods inherited from interface org.compiere.swing.CEditor |
|---|
isReadWrite, setReadWrite, setVisible |
| Constructor Detail |
|---|
public VButton(String columnName,
boolean mandatory,
boolean isReadOnly,
boolean isUpdateable,
String text,
String description,
String help,
int AD_Process_ID)
columnName - columnmandatory - mandatoryisReadOnly - read onlyisUpdateable - updateabletext - textdescription - descriptionhelp - helpAD_Process_ID - process to start| Method Detail |
|---|
public void dispose()
dispose in interface VEditorpublic void setValue(Object value)
setValue in interface CEditorsetValue in class CButtonvalue - valuepublic void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerevt - eventpublic Object getValue()
getValue in interface CEditorgetValue in class CButtonpublic String getDisplay()
getDisplay in interface CEditorgetDisplay in class CButtonpublic void setMandatory(boolean mandatory)
setMandatory in interface CEditorsetMandatory in class CButtonmandatory - mandatorypublic boolean isMandatory()
isMandatory in interface CEditorisMandatory in class CButtonpublic void setBackground(boolean error)
setBackground in interface CEditorsetBackground in class CButtonerror - errorpublic String getColumnName()
public String getDescription()
public String getHelp()
public int getProcess_ID()
public void addActionListener(ActionListener aListener)
addActionListener in interface VEditoraddActionListener in class AbstractButtonaListener - listenerpublic String toString()
toString in class Componentpublic HashMap getValues()
public void setField(GridField mField)
setField in interface VEditormField - field modelpublic char getSavedMnemonic()
public void setSavedMnemonic(char savedMnemonic)
savedMnemonic - The savedMnemonic to set.
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||