Oracle Data-aware Controls Reference

oracle.dacf.style
Class DefaultValues

java.lang.Object
  extended byoracle.dacf.style.DefaultValues
All Implemented Interfaces:
java.lang.Cloneable

public class DefaultValues
extends java.lang.Object
implements java.lang.Cloneable

the DefaultValues class defines a DefaultValue for every property type.

The Style Editor requires a default value when creating a new Style Element, to to initialize the Property Editor

Version:
PUBLIC

Constructor Summary
DefaultValues()
          Constructor
 
Method Summary
 void addValue(java.lang.Object object)
          Adds a value to collection.
 java.lang.Object clone()
          implementation of Cloneable interface
 java.lang.Object getValue(java.lang.Class cls)
          returns the default value matching this class If no value is defined, it will return a null value.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultValues

public DefaultValues()
Constructor

Method Detail

clone

public java.lang.Object clone()
implementation of Cloneable interface


addValue

public void addValue(java.lang.Object object)
Adds a value to collection. If a value is already defined for an object of this type, it will overwrite the existing value

Parameters:
object - the value you want to add

getValue

public java.lang.Object getValue(java.lang.Class cls)
returns the default value matching this class If no value is defined, it will return a null value.

Parameters:
cls - the class type you want the default value for
Returns:
the default value for this class

Oracle Data-aware Controls Reference

 

Copyright © 1997, 2003, Oracle. All rights reserved.