org.openmdx.portal.servlet.attribute
Class NullValue

java.lang.Object
  extended by org.openmdx.portal.servlet.attribute.AttributeValue
      extended by org.openmdx.portal.servlet.attribute.NullValue
All Implemented Interfaces:
Serializable

public final class NullValue
extends AttributeValue
implements Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openmdx.portal.servlet.attribute.AttributeValue
application, fieldDef, object
 
Constructor Summary
protected NullValue()
           
 
Method Summary
static AttributeValue createNullValue()
           
 Autocompleter_1_0 getAutocompleter(org.openmdx.base.accessor.jmi.cci.RefObject_1_0 target)
           
 String getBackColor()
          Returns the background color of the field/value as W3C CSS color, null if not defined.
 String getColor()
          Returns the color of the field/value as W3C CSS color, null if not defined.
 Object getDefaultValue()
           
 String getIconKey()
          Returns icon key.
 String getStringifiedValue(HtmlPage p, boolean multiLine, boolean forEditing, boolean shortFormat)
          Returns stringified attribute value.
 Object getValue(boolean forGrid)
           
 boolean isChangeable()
           
 
Methods inherited from class org.openmdx.portal.servlet.attribute.AttributeValue
createAttributeValue, getDataBinding, getFieldDef, getLabel, getMultiplicity, getName, getObject, getString, getStringifiedValueInternal, getUpperBound, getValue, getValues, isEnabled, isOptionalValued, isSingleValued, paint, refresh, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NullValue

protected NullValue()
Method Detail

createNullValue

public static AttributeValue createNullValue()

getDefaultValue

public Object getDefaultValue()
Specified by:
getDefaultValue in class AttributeValue

getValue

public Object getValue(boolean forGrid)
Overrides:
getValue in class AttributeValue

getStringifiedValue

public String getStringifiedValue(HtmlPage p,
                                  boolean multiLine,
                                  boolean forEditing,
                                  boolean shortFormat)
Description copied from class: AttributeValue
Returns stringified attribute value.

Overrides:
getStringifiedValue in class AttributeValue

getBackColor

public String getBackColor()
Description copied from class: AttributeValue
Returns the background color of the field/value as W3C CSS color, null if not defined.

Overrides:
getBackColor in class AttributeValue

getColor

public String getColor()
Description copied from class: AttributeValue
Returns the color of the field/value as W3C CSS color, null if not defined.

Overrides:
getColor in class AttributeValue

getIconKey

public String getIconKey()
Description copied from class: AttributeValue
Returns icon key.

Overrides:
getIconKey in class AttributeValue

isChangeable

public boolean isChangeable()
Overrides:
isChangeable in class AttributeValue

getAutocompleter

public Autocompleter_1_0 getAutocompleter(org.openmdx.base.accessor.jmi.cci.RefObject_1_0 target)
Overrides:
getAutocompleter in class AttributeValue


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