org.openmdx.ui1.jmi1
Interface LabelledField

All Superinterfaces:
AbstractField, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, Element, org.openmdx.base.cci2.ExtentCapable, LabelledField, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, org.openmdx.base.accessor.jmi.cci.RefObject_1_0, org.openmdx.compatibility.view1.cci2.ViewCapable
All Known Subinterfaces:
CheckBox, CompoundField, ContainerField, DateField, DocumentBox, FieldGroup, NumberField, ObjectContainer, ObjectReferenceField, TextBox, TextField, ValuedField

public interface LabelledField
extends LabelledField, AbstractField

Abstract class LabelledField


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openmdx.ui1.cci2.Element
Element.Identity
 
Method Summary
 List<String> getLabel()
          Retrieves a list containing all the elements for the attribute label.
 List<String> getShortLabel()
          Retrieves a list containing all the elements for the attribute shortLabel.
 void setLabel(List<String> label)
          Clears label and adds the members of the given List.
 void setShortLabel(List<String> shortLabel)
          Clears shortLabel and adds the members of the given List.
 
Methods inherited from interface org.openmdx.ui1.cci2.LabelledField
setLabel, setShortLabel
 
Methods inherited from interface org.openmdx.ui1.cci2.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.jmi1.Element
getToolTip, setToolTip
 
Methods inherited from interface org.openmdx.ui1.cci2.Element
getIconKey, getMimeType, isAutoGenerated, isChangeable, setAutoGenerated, setChangeable, setIconKey, setMimeType, setToolTip
 
Methods inherited from interface org.openmdx.base.jmi1.BasicObject
getCreatedBy, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getModifiedAt
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.jmi1.ViewCapable
getView, getView, getView
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
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<String> getLabel()
Retrieves a list containing all the elements for the attribute label.

Specified by:
getLabel in interface LabelledField
Returns:
A list containing all elements for this attribute.

setLabel

void setLabel(List<String> label)
Clears label and adds the members of the given List.

This method is equivalent to

   list.clear();
   list.addAll(label);
 
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.

Parameters:
label - collection to be copied.

getShortLabel

List<String> getShortLabel()
Retrieves a list containing all the elements for the attribute shortLabel.

Specified by:
getShortLabel in interface LabelledField
Returns:
A list containing all elements for this attribute.

setShortLabel

void setShortLabel(List<String> shortLabel)
Clears shortLabel and adds the members of the given List.

This method is equivalent to

   list.clear();
   list.addAll(shortLabel);
 
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.

Parameters:
shortLabel - collection to be copied.


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