net.sf.filePiper.gui
Class SizeAndUnitEditor

java.lang.Object
  extended by net.sf.sfac.gui.editor.cmp.BaseObjectEditor
      extended by net.sf.filePiper.gui.SizeAndUnitEditor
All Implemented Interfaces:
net.sf.sfac.gui.editor.ObjectEditor

public class SizeAndUnitEditor
extends net.sf.sfac.gui.editor.cmp.BaseObjectEditor


Field Summary
 
Fields inherited from interface net.sf.sfac.gui.editor.ObjectEditor
DESCRIPTION_ACCESS_PROPERTY, EDITOR_DESCRIPTION_PROPERTY, EDITOR_INDEX_PROPERTY, EDITOR_LABEL_PROPERTY, EDITOR_LIST_PROPERTY, EDITOR_TYPE_PROPERTY, LABEL_ACCESS_PROPERTY, MODEL_CLASS_PROPERTY, TAB_PROPERTY
 
Constructor Summary
SizeAndUnitEditor(String descript, String text)
           
 
Method Summary
 void edit(Object objToEdit)
           
 String getDescription()
           
 Object getEditedObject()
           
 JComponent getEditorComponent()
           
 JComponent getObjectComponent()
           
 String getSizeLabelText()
           
 boolean isModified()
           
 void setDescription(String newDescription)
           
 void setSizeLabelText(String newSizeLabelText)
           
protected  void synchronizeEditableState()
           
 void updateModel()
           
 void updateView()
           
 
Methods inherited from class net.sf.sfac.gui.editor.cmp.BaseObjectEditor
createLabelComponent, getEditorContext, getEditorFactory, getInitialValue, getLabel, getLabelAccess, getLabelComponent, getModelAccess, getModelValue, getParentEditor, getProperty, getSettings, getTranslatedDescription, getTranslatedLabel, isEditable, isEnabled, setDescriptionAccess, setEditable, setEditorContext, setEnabled, setLabel, setLabelAccess, setModelAccess, setModelValue, setModified, setParentEditor, setProperty, toString, updateDescriptionText, updateLabelText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SizeAndUnitEditor

public SizeAndUnitEditor(String descript,
                         String text)
Method Detail

synchronizeEditableState

protected void synchronizeEditableState()
Specified by:
synchronizeEditableState in class net.sf.sfac.gui.editor.cmp.BaseObjectEditor

edit

public void edit(Object objToEdit)
Specified by:
edit in interface net.sf.sfac.gui.editor.ObjectEditor
Overrides:
edit in class net.sf.sfac.gui.editor.cmp.BaseObjectEditor

getEditedObject

public Object getEditedObject()
Specified by:
getEditedObject in interface net.sf.sfac.gui.editor.ObjectEditor
Overrides:
getEditedObject in class net.sf.sfac.gui.editor.cmp.BaseObjectEditor

getEditorComponent

public JComponent getEditorComponent()

isModified

public boolean isModified()
Specified by:
isModified in interface net.sf.sfac.gui.editor.ObjectEditor
Overrides:
isModified in class net.sf.sfac.gui.editor.cmp.BaseObjectEditor

updateModel

public void updateModel()

updateView

public void updateView()

getDescription

public String getDescription()
Overrides:
getDescription in class net.sf.sfac.gui.editor.cmp.BaseObjectEditor

setDescription

public void setDescription(String newDescription)
Overrides:
setDescription in class net.sf.sfac.gui.editor.cmp.BaseObjectEditor

getSizeLabelText

public String getSizeLabelText()

setSizeLabelText

public void setSizeLabelText(String newSizeLabelText)

getObjectComponent

public JComponent getObjectComponent()


Copyright © 2010. All Rights Reserved.