QJCC homepage

biz.chitec.qapp.gjsaadminclient
Class ListEditElement

java.lang.Object
  extended bybiz.chitec.qapp.gjsaadminclient.AbstractEditElement
      extended bybiz.chitec.qapp.gjsaadminclient.StringEditElement
          extended bybiz.chitec.qapp.gjsaadminclient.ListEditElement
All Implemented Interfaces:
EditElement
Direct Known Subclasses:
MapOfListsEditElement

public class ListEditElement
extends StringEditElement

Editor for properties which are lists of strings. The data is represented as one string where the elements are seperated by commas.

Version:
$Id: 5fb6c3c44aa164cd2bb22e82e3d813f19d4fed40 $
Author:
cantamen/Dirk Hillbrecht 2007. Released under the GPL.

Nested Class Summary
 
Nested classes inherited from class biz.chitec.qapp.gjsaadminclient.AbstractEditElement
AbstractEditElement.DCL, AbstractEditElement.EFL, AbstractEditElement.ML
 
Field Summary
 
Fields inherited from class biz.chitec.qapp.gjsaadminclient.StringEditElement
textfield
 
Fields inherited from class biz.chitec.qapp.gjsaadminclient.AbstractEditElement
editcomponental, editlabel, helptext, oldvalue, pcs, propertyname, rb, resetbutton, transferbutton
 
Constructor Summary
ListEditElement()
           
 
Method Summary
protected  java.lang.Object getValueFromEditComponent()
          Get edited value out of the edit component.
protected  java.lang.String listToString(java.util.List l)
           
protected  void setValueInEditComponent(java.lang.Object value)
          Pass value of the property to the edit component in an appropriate way.
protected  java.util.List stringToList(java.lang.String stri)
           
 
Methods inherited from class biz.chitec.qapp.gjsaadminclient.StringEditElement
getEditComponent
 
Methods inherited from class biz.chitec.qapp.gjsaadminclient.AbstractEditElement
addPropertyChangeListener, addTransferActionListener, checkButtons, finalizeChange, fireIsChangedChange, getPropertyName, getValue, isChanged, isEqualInNonNullCase, realize, resetChange, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListEditElement

public ListEditElement()
Method Detail

listToString

protected java.lang.String listToString(java.util.List l)

setValueInEditComponent

protected void setValueInEditComponent(java.lang.Object value)
Description copied from class: AbstractEditElement
Pass value of the property to the edit component in an appropriate way. The representation of the value to be edited is up to the edit component and completely encapsulated in this method.

Overrides:
setValueInEditComponent in class StringEditElement

stringToList

protected java.util.List stringToList(java.lang.String stri)

getValueFromEditComponent

protected java.lang.Object getValueFromEditComponent()
Description copied from class: AbstractEditElement
Get edited value out of the edit component. The value has to be converted from the representation in the edit component to real representation.

Overrides:
getValueFromEditComponent in class StringEditElement

QJCC homepage