org.openmdx.ui1.cci
Interface LabelledField

All Superinterfaces:
AbstractField, BasicObject, ContextCapable, Element, ExtentCapable, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, org.openmdx.base.accessor.jmi.cci.RefObject_1_0, ViewCapable
All Known Subinterfaces:
CheckBox, CompoundField, ContainerField, DateField, DocumentBox, FieldGroup, NumberField, ObjectContainer, ObjectReferenceField, TextBox, TextField, ValuedField
All Known Implementing Classes:
CheckBoxImpl, CompoundFieldImpl, ContainerFieldImpl, DateFieldImpl, DocumentBoxImpl, FieldGroupImpl, LabelledFieldImpl, NumberFieldImpl, ObjectContainerImpl, ObjectReferenceFieldImpl, TextBoxImpl, TextFieldImpl, ValuedFieldImpl

public interface LabelledField
extends AbstractField


Method Summary
 List getLabel()
           
 String getLabel(int index)
           
 List getShortLabel()
           
 String getShortLabel(int index)
           
 void setLabel(List newValue)
           
 void setLabel(String[] newValue)
           
 void setShortLabel(List newValue)
           
 void setShortLabel(String[] newValue)
           
 
Methods inherited from interface org.openmdx.ui1.cci.AbstractField
getBackColor, getColor, getFontColor, getFontName, getFontSize, isFontBold, isFontItalic, isFontStrikeout, isFontUnderline, setBackColor, setColor, setFontBold, setFontColor, setFontItalic, setFontName, setFontSize, setFontStrikeout, setFontUnderline
 
Methods inherited from interface org.openmdx.ui1.cci.Element
getIconKey, getMimeType, getToolTip, getToolTip, isAutoGenerated, isChangeable, setAutoGenerated, setChangeable, setIconKey, setMimeType, setToolTip, setToolTip
 
Methods inherited from interface org.openmdx.base.cci.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci.ContextCapable
getContext, getContext
 
Methods inherited from interface org.openmdx.base.cci.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci.ViewCapable
getView, getView, getView, getView
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

getLabel

List getLabel()
Returns:
A list containing all elements for this attribute.
Throws:
JmiException - If the values cannot be retrieved for some reason.

getLabel

String getLabel(int index)
Parameters:
index - The index of the element to return.
Returns:
The element at the specified position in the list of all values for this attribute.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setLabel

void setLabel(List newValue)
Parameters:
newValue - A list containing all the new elements for this attribute.
Throws:
JmiException - If the values cannot be set for some reason.

setLabel

void setLabel(String[] newValue)
Parameters:
newValue - An array containing all the new elements for this attribute.
Throws:
JmiException - If the values cannot be set for some reason.

getShortLabel

List getShortLabel()
Returns:
A list containing all elements for this attribute.
Throws:
JmiException - If the values cannot be retrieved for some reason.

getShortLabel

String getShortLabel(int index)
Parameters:
index - The index of the element to return.
Returns:
The element at the specified position in the list of all values for this attribute.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setShortLabel

void setShortLabel(List newValue)
Parameters:
newValue - A list containing all the new elements for this attribute.
Throws:
JmiException - If the values cannot be set for some reason.

setShortLabel

void setShortLabel(String[] newValue)
Parameters:
newValue - An array containing all the new elements for this attribute.
Throws:
JmiException - If the values cannot be set for some reason.


This software is published under the BSD license. Copyright © 2006-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.