aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/libgamma/AdjustmentMethod.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/libgamma/AdjustmentMethod.java b/src/libgamma/AdjustmentMethod.java
index 0b6ed00..7b98377 100644
--- a/src/libgamma/AdjustmentMethod.java
+++ b/src/libgamma/AdjustmentMethod.java
@@ -153,6 +153,16 @@ public enum AdjustmentMethod
return libgamma_method_default_site_variable(this.value);
}
+ /**
+ * Return the capabilities of the adjustment method.
+ *
+ * @return The capabilities of the adjustment method.
+ */
+ public AdjustmentMethodCapabilities get_capabilities()
+ {
+ return new AdjustmentMethodCapabilities(libgamma_method_capabilities(this.value));
+ }
+
/**
@@ -202,6 +212,15 @@ public enum AdjustmentMethod
private static native int libgamma_is_method_available(int method);
/**
+ * Return the capabilities of an adjustment method.
+ *
+ * @param method The adjustment method (display server and protocol).
+ * @return Input parameter to the constructor of {@link AdjustmentMethodCapabilities}.
+ */
+ private static native long libgamma_method_capabilities(int method);
+
+
+ /**
* Return the default site for an adjustment method.
*
* @param method The adjustment method (display server and protocol.)