|
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.JToggleButton
javax.swing.JCheckBox
org.compiere.swing.CCheckBox
org.compiere.grid.ed.VCheckBox
public class VCheckBox
Checkbox Control
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JCheckBox |
|---|
JCheckBox.AccessibleJCheckBox |
| Nested classes/interfaces inherited from class javax.swing.JToggleButton |
|---|
JToggleButton.AccessibleJToggleButton, JToggleButton.ToggleButtonModel |
| 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.JCheckBox |
|---|
BORDER_PAINTED_FLAT_CHANGED_PROPERTY |
| 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 | |
|---|---|
VCheckBox()
Default Constructor |
|
VCheckBox(String columnName,
boolean mandatory,
boolean isReadOnly,
boolean isUpdateable,
String title,
String description,
boolean tableEditor)
Standard Constructor |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Action Listener - data binding |
void |
dispose()
Dispose |
String |
getDisplay()
Return Display Value |
char |
getSavedMnemonic()
|
Object |
getValue()
Return Editor value |
boolean |
isEditable()
IsEditable |
void |
propertyChange(PropertyChangeEvent evt)
Property Change Listener |
void |
setBackground()
Set Background (nop) |
void |
setEditable(boolean value)
Set Editable |
void |
setField(GridField mField)
Set Field/WindowNo for ValuePreference (NOP) |
void |
setSavedMnemonic(char savedMnemonic)
|
void |
setValue(Object value)
Set Editor to value |
| Methods inherited from class org.compiere.swing.CCheckBox |
|---|
isMandatory, isReadWrite, setBackground, setBackground, setMandatory, setMnemonic, setReadWrite, setText |
| Methods inherited from class javax.swing.JCheckBox |
|---|
getAccessibleContext, getUIClassID, isBorderPaintedFlat, paramString, setBorderPaintedFlat, 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, removeVetoableChangeListener, setBorder, setFont, setForeground, setName |
| Methods inherited from interface org.compiere.swing.CEditor |
|---|
isMandatory, isReadWrite, setBackground, setMandatory, setReadWrite, setVisible |
| Constructor Detail |
|---|
public VCheckBox()
public VCheckBox(String columnName,
boolean mandatory,
boolean isReadOnly,
boolean isUpdateable,
String title,
String description,
boolean tableEditor)
columnName - mandatory - isReadOnly - isUpdateable - title - description - tableEditor - | Method Detail |
|---|
public void dispose()
dispose in interface VEditorpublic void setEditable(boolean value)
value - public boolean isEditable()
public void setValue(Object value)
setValue in interface CEditorsetValue in class CCheckBoxvalue - public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerevt - public Object getValue()
getValue in interface CEditorgetValue in class CCheckBoxpublic String getDisplay()
getDisplay in interface CEditorgetDisplay in class CCheckBoxpublic void setBackground()
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - public void setField(GridField mField)
setField in interface VEditormField - public 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 | |||||||||