Package org.compiere.grid.ed
Interface VEditor
-
- All Superinterfaces:
CEditor
,EventListener
,PropertyChangeListener
- All Known Implementing Classes:
VAccount
,VAssignment
,VBinary
,VButton
,VChart
,VCheckBox
,VColor
,VDate
,VFile
,VImage
,VLocation
,VLocator
,VLookup
,VMemo
,VNumber
,VPassword
,VPAttribute
,VPaymentEditor
,VString
,VText
,VTextLong
,VURL
public interface VEditor extends CEditor, PropertyChangeListener
Editor Interface for single Row Editors (also used as TableCellEditors).Editors fire VetoableChange to inform about new entered values and listen to propertyChange (MField.PROPERTY) to receive new values or to (MField.ATTRIBUTE) in changes of Background or Editability
- Version:
- $Id: VEditor.java,v 1.2 2006/07/30 00:51:28 jjanke Exp $
- Author:
- Jorg Janke
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addActionListener(ActionListener listener)
Action Listenervoid
addVetoableChangeListener(VetoableChangeListener listener)
Change Listener Interfacevoid
dispose()
DisposeGridField
getField()
Get Field/WindowNo for ValuePreferenceComponent
getFocusableComponent()
Get Focusable ComponentString
getName()
Get Column Namevoid
removeVetoableChangeListener(VetoableChangeListener listener)
Change Listener Interfacevoid
setBorder(Border border)
Used to set border for table editorsvoid
setField(GridField mField)
Set Field/WindowNo for ValuePreferencevoid
setFont(Font font)
Set Fontvoid
setForeground(Color color)
Set Foregroundvoid
setName(String columnName)
Set Column Name-
Methods inherited from interface org.compiere.swing.CEditor
getDisplay, getValue, isMandatory, isReadWrite, setBackground, setMandatory, setReadWrite, setValue, setVisible
-
Methods inherited from interface java.beans.PropertyChangeListener
propertyChange
-
-
-
-
Method Detail
-
getName
String getName()
Get Column Name- Returns:
- column name
-
setName
void setName(String columnName)
Set Column Name
-
addVetoableChangeListener
void addVetoableChangeListener(VetoableChangeListener listener)
Change Listener Interface- Parameters:
listener
-
-
removeVetoableChangeListener
void removeVetoableChangeListener(VetoableChangeListener listener)
Change Listener Interface- Parameters:
listener
-
-
addActionListener
void addActionListener(ActionListener listener)
Action Listener- Parameters:
listener
-
-
setBorder
void setBorder(Border border)
Used to set border for table editors- Parameters:
border
-
-
setFont
void setFont(Font font)
Set Font- Parameters:
font
-
-
setForeground
void setForeground(Color color)
Set Foreground- Parameters:
color
-
-
setField
void setField(GridField mField)
Set Field/WindowNo for ValuePreference- Parameters:
mField
-
-
getField
GridField getField()
Get Field/WindowNo for ValuePreference- Returns:
- mField
-
dispose
void dispose()
Dispose
-
getFocusableComponent
Component getFocusableComponent()
Get Focusable Component- Returns:
- component
-
-