|
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.VColor
public class VColor
Color Editor. The editor stores/gets the attributes from the tab.
| 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 | |
|---|---|
VColor(GridTab mTab,
boolean mandatory,
boolean isReadOnly)
Constructor |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Action Listener - Open Dialog |
void |
dispose()
Dispose |
String |
getDisplay()
Get Displayed Value |
Object |
getValue()
GetValue |
boolean |
isMandatory()
Is 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 |
void |
setValue(Object value)
Set Value |
| 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 |
|---|
addActionListener, addVetoableChangeListener, getName, removeVetoableChangeListener, setBorder, setFont, setForeground, setName |
| Methods inherited from interface org.compiere.swing.CEditor |
|---|
isReadWrite, setReadWrite, setVisible |
| Constructor Detail |
|---|
public VColor(GridTab mTab,
boolean mandatory,
boolean isReadOnly)
mTab - Tabmandatory - mandatoryisReadOnly - read only| Method Detail |
|---|
public void dispose()
dispose in interface VEditorpublic 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 void setValue(Object value)
setValue in interface CEditorsetValue in class CButtonvalue - valuepublic Object getValue()
getValue in interface CEditorgetValue in class CButtonpublic String getDisplay()
getDisplay in interface CEditorgetDisplay in class CButtonpublic void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerevt - eventpublic void setField(GridField mField)
setField in interface VEditormField - fieldpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - event
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||