| 
 | Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.4.0) E12063-05 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.dss.dataView.managers.ViewSizing
public class ViewSizing
| Field Summary | |
|---|---|
| protected  int | m_columnWidth | 
| protected  java.util.BitSet | m_propertyUsedFlags | 
| protected  int | m_rowHeight | 
| Constructor Summary | |
|---|---|
| ViewSizing()Constructor that uses a default row height and column width. | |
| ViewSizing(int rowHeight,
           int columnWidth)Constructor that specifies a particular row height and column width. | |
| Method Summary | |
|---|---|
|  void | clearUsedBits()Sets all of the "used" ViewSizingattributes tofalse. | 
|  java.lang.Object | clone()Clones this ViewSizingobject. | 
|  boolean | equals(java.lang.Object o)Indicates whether the specified object is equivalent to this ViewSizingobject. | 
|  int | getColumnWidth()Retrieves the width for the columns of this object. | 
|  int | getRowHeight()Retrieves the row height property for this object. | 
|  boolean | isAnythingOverridden()Indicates whether any of the attributes of this ViewSizingobject has been explicitly set. | 
|  boolean | isColumnWidthUsed()Indicates whether the ColumnWidthattribute has been explicitly set. | 
|  boolean | isRowHeightUsed()Indicates whether the RowHeightattribute has been explicitly set. | 
|  void | merge(Mergeable from)Merges the specified ViewSizingobject with this object. | 
|  void | setColumnWidth(int columnWidth)Specifies the width for the columns of this object. | 
|  void | setColumnWidthUsed(boolean used)Specifies whether the ColumnWidthattribute has been explicitly set. | 
|  void | setRowHeight(int rowHeight)Specifies the row height for this object. | 
|  void | setRowHeightUsed(boolean used)Specifies whether the RowHeightattribute has been explicitly set. | 
| Methods inherited from class java.lang.Object | 
|---|
| finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected int m_rowHeight
protected int m_columnWidth
protected java.util.BitSet m_propertyUsedFlags
| Constructor Detail | 
|---|
public ViewSizing()
10.
 The default column width is 10.
 At this point, no attributes have been explicitly set.
public ViewSizing(int rowHeight,
                  int columnWidth)
rowHeight - The initial value for the height of a row.columnWidth - The initial value for the width of a column.| Method Detail | 
|---|
public boolean isAnythingOverridden()
ViewSizing object has been explicitly set.
isAnythingOverridden in interface Mergeabletrue if any attribute has been explicitly set, false if the attributes have their original values.public java.lang.Object clone()
ViewSizing object.
clone in interface Mergeableclone in class java.lang.ObjectViewSizing clone.public void setRowHeight(int rowHeight)
setRowHeightUsed method to true.
rowHeight - The row height for this object.public int getRowHeight()
public boolean isRowHeightUsed()
RowHeight attribute has been explicitly set.
 When this method's return value is true, the attribute's value will be used in the merging process.
true if the attribute has been explicitly set, false if it has not been explicitly set.public void setRowHeightUsed(boolean used)
RowHeight attribute has been explicitly set.
 This method is set by the setRowHeight attribute.
 When the parameter value of this method is set to true, the attribute's value will be used in the merging process.
used - true if the attribute has been explicitly set, false if it has not been explicitly set.public void setColumnWidth(int columnWidth)
setColumnWidthUsed method to true.
columnWidth - The width for the columns of this object.public int getColumnWidth()
public boolean isColumnWidthUsed()
ColumnWidth attribute has been explicitly set.
 When the returns value of this method is true, the attribute's value will be used in the merging process.
true if the attribute has been explicitly se, false if it has not been explicitly se.public void setColumnWidthUsed(boolean used)
ColumnWidth attribute has been explicitly set.
 This method is set by the setColumnWidth attribute.
 When the parameter value of this method is set to true, the attribute's value will be used in the merging process.
used - true if the attribute has been explicitly set, false if it has not been explicitly set.public void merge(Mergeable from)
ViewSizing object with this object.
 This method is called by the Rule classes.
merge in interface Mergeablefrom - The ViewSizing object that you want to merge.public boolean equals(java.lang.Object o)
ViewSizing object.
 Objects are equivalent if they have the same attributes explicitly set and those attributes have the same values.
equals in class java.lang.Objecto - The object that you want to compare with this ViewSizing object.
true if they are equal, false if not, or if o is not a ViewSizing object.public void clearUsedBits()
ViewSizing attributes to false.
 Immediately after you call this method, the IsAnythingOverridden
 method returns false.
| 
 | Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.4.0) E12063-05 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||