diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-05 04:25:24 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-05 04:25:24 +0200 |
commit | 972dc59b6fb1af69c79fd7c0d1ed1342e2f0c9b3 (patch) | |
tree | 775ba644ddd4fc980ce49e1243c658ea74e78a1f /src/libgamma/AdjustmentMethodCapabilities.java | |
parent | derp (diff) | |
download | jlibgamma-972dc59b6fb1af69c79fd7c0d1ed1342e2f0c9b3.tar.gz jlibgamma-972dc59b6fb1af69c79fd7c0d1ed1342e2f0c9b3.tar.bz2 jlibgamma-972dc59b6fb1af69c79fd7c0d1ed1342e2f0c9b3.tar.xz |
m + add toString for classes
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/libgamma/AdjustmentMethodCapabilities.java')
-rw-r--r-- | src/libgamma/AdjustmentMethodCapabilities.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/libgamma/AdjustmentMethodCapabilities.java b/src/libgamma/AdjustmentMethodCapabilities.java index 4d8f353..36cfbb9 100644 --- a/src/libgamma/AdjustmentMethodCapabilities.java +++ b/src/libgamma/AdjustmentMethodCapabilities.java @@ -140,5 +140,28 @@ public class AdjustmentMethodCapabilities */ public boolean fake; + + /** + * {@inheritDoc} + */ + public String toString() + { + return "<AdjustmentMethodCapabilities: " + + "information = " + Integer.toString(this.crtc_information) + ", " + + "default_site_known = " + Boolean.toString(this.default_site_known) + ", " + + "multiple_sites = " + Boolean.toString(this.multiple_sites) + ", " + + "multiple_partitions = " + Boolean.toString(this.multiple_partitions) + ", " + + "multiple_crtcs = " + Boolean.toString(this.multiple_crtcs) + ", " + + "partitions_are_graphics_cards = " + Boolean.toString(this.partitions_are_graphics_cards) + ", " + + "site_restore = " + Boolean.toString(this.site_restore) + ", " + + "partition_restore = " + Boolean.toString(this.partition_restore) + ", " + + "crtc_restore = " + Boolean.toString(this.crtc_restore) + ", " + + "identical_gamma_sizes = " + Boolean.toString(this.identical_gamma_sizes) + ", " + + "fixed_gamma_size = " + Boolean.toString(this.fixed_gamma_size) + ", " + + "fixed_gamma_depth = " + Boolean.toString(this.fixed_gamma_depth) + ", " + + "real = " + Boolean.toString(this.real) + ", " + + "fake = " + Boolean.toString(this.fake) + ">"; + } + } |