| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.1) E13403-09  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  
oracle.javatools.history.HistoryProperty
public class HistoryProperty
Information about a property that HistoryEntry items in a HistoryModel may have.
| Constructor Summary | |
|---|---|
HistoryProperty()Construct a history property with no values.  | 
|
HistoryProperty(java.lang.String name)Construct a HistoryProperty.  | 
|
HistoryProperty(java.lang.String name, java.lang.String description)Construct a HistoryProperty.  | 
|
HistoryProperty(java.lang.String name, java.lang.String description, java.lang.Class type)Construct a HistoryProperty.  | 
|
HistoryProperty(java.lang.String name, java.lang.String description, java.lang.Class type, java.lang.Object prototype)Construct a HistoryProperty.  | 
|
| Method Summary | |
|---|---|
 int | 
getAutoSizeMaximum()Get the maximum width used by the HistoryComponent when auto-sizing columns based on prototypes and values.  | 
 java.util.Comparator | 
getComparator()Set a comparator to be used for this property.  | 
 java.lang.String | 
getDescription()Get the description.  | 
 java.lang.String | 
getName()Get the name of this property.  | 
 int | 
getPreferredAlignment()Get the preferred alignment of this property.  | 
 java.lang.Object | 
getPrototypeValue()Get a prototype value.  | 
 java.lang.Class | 
getType()Get the type of this property.  | 
 float | 
getWeight()Get the column weight of this HistoryProperty.  | 
 boolean | 
isDefault()Get whether the HistoryProperty is visible by default.  | 
 void | 
setAutoSizeMaximum(int autoSizeMaximum)Set the maximum width used by the HistoryComponent when auto-sizing columns based on prototypes and values.  | 
 void | 
setComparator(java.util.Comparator comparator)Set a comparator to be used for this property.  | 
 void | 
setDefault(boolean isDefault)Set whether the HistoryProperty is visible by default.  | 
 void | 
setDescription(java.lang.String description)Set a description for this property.  | 
 void | 
setName(java.lang.String name)Set the name of this property.  | 
 void | 
setPreferredAlignment(int preferredAlignment)Set the preferred alignment of this property.  | 
 void | 
setPrototypeValue(java.lang.Object prototypeValue)Set a prototype value.  | 
 void | 
setType(java.lang.Class type)Set the type of this property.  | 
 void | 
setWeight(float weight)Set the column weight of this HistoryProperty.  | 
 java.lang.String | 
toString()Gets the name.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public HistoryProperty()
public HistoryProperty(java.lang.String name)
name - the name of the property.
public HistoryProperty(java.lang.String name,
                       java.lang.String description)
name - the name of the property.description - a description of the property.
public HistoryProperty(java.lang.String name,
                       java.lang.String description,
                       java.lang.Class type)
name - the name of the property.description - a description of the property.type - the class of the property values.
public HistoryProperty(java.lang.String name,
                       java.lang.String description,
                       java.lang.Class type,
                       java.lang.Object prototype)
name - the name of the property.description - a description of the property.type - the class of the property values.prototype - a prototype value.| Method Detail | 
|---|
public void setWeight(float weight)
weight - the weight value.public float getWeight()
public void setDefault(boolean isDefault)
isDefault - true if the HistoryProperty is visible.public void setAutoSizeMaximum(int autoSizeMaximum)
autoSizeMaximum - the maximum auto-size widthpublic void setName(java.lang.String name)
name - the name of the property.public java.lang.String getName()
public void setDescription(java.lang.String description)
description - a description.public java.lang.String getDescription()
public boolean isDefault()
true if the HistoryProperty is visible.public int getAutoSizeMaximum()
public void setType(java.lang.Class type)
type - the type of the property.public java.lang.Class getType()
public void setComparator(java.util.Comparator comparator)
comparator - a comparator.public java.util.Comparator getComparator()
public void setPreferredAlignment(int preferredAlignment)
preferredAlignment - one of SwingConstants.LEFT, SwingConstants.CENTER or SwingConstants.RIGHTpublic int getPreferredAlignment()
public void setPrototypeValue(java.lang.Object prototypeValue)
prototypeValue - a prototype value for this property.public java.lang.Object getPrototypeValue()
public java.lang.String toString()
toString in class java.lang.Object
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.1) E13403-09  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||