Revision: 7412
Author: victormote
Date: 2006-06-05 12:12:20 -0700 (Mon, 05 Jun 2006)
ViewCVS: http://svn.sourceforge.net/foray/?rev=7412&view=rev
Log Message:
-----------
Remove unused and unneeded method.
Modified Paths:
--------------
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ContentDimension.java
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ContentDimension.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ContentDimension.java 2006-06-05 19:05:37 UTC (rev 7411)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ContentDimension.java 2006-06-05 19:12:20 UTC (rev 7412)
@@ -128,36 +128,6 @@
return getValueNoInstance();
}
- /**
- * Indicates whether the effective value of this property was the keyword
- * "auto".
- * @param fobj The FObj to which this property belongs.
- * @param absoluteAxis One of {@link Constants#AXIS_HORIZONTAL} or
- * {@link Constants#AXIS_VERTICAL}.
- * @return True iff the effective value of this property is "auto".
- */
- public boolean isAuto(FObj fobj, byte absoluteAxis) {
- if (! (this.value instanceof PropertyKeyword)) {
- return false;
- }
- short keyword = ((PropertyKeyword) value).getValue();
- switch (keyword) {
- case Constants.FOVAL_INHERIT: {
- FObj parent = fobj.getFObjParent();
- if (parent == null) {
- return false;
- }
- return parent.propertyList
- .getContentDimensionProperty(absoluteAxis)
- .isAuto(parent, absoluteAxis);
- }
- case Constants.FOVAL_AUTO: {
- return true;
- }
- }
- return false;
- }
-
public static float getValueNoInstance() {
return 1;
}
@@ -169,7 +139,8 @@
/**
* @param absoluteAxis One of the absolute axes (either AXIS_HORIZONTAL,
* or AXIS_VERTICAL).
- * @return String representation of the raw property name.
+ * @return Either {@link Constants#FOPROP_CONTENT_WIDTH} or
+ * {@link Constants#FOPROP_CONTENT_HEIGHT}.
*/
public static short rawPropertyName(int absoluteAxis) {
switch (absoluteAxis) {
@@ -182,4 +153,5 @@
}
return 0;
}
+
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|