~ubuntu-branches/ubuntu/natty/java-gnome/natty

« back to all changes in this revision

Viewing changes to src/bindings/org/gnome/gtk/Scale.java

  • Committer: Bazaar Package Importer
  • Author(s): Guillaume Mazoyer
  • Date: 2011-02-18 17:46:52 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20110218174652-mk7ajkt790es0jwr
Tags: 4.0.19-0ubuntu1
* New upstream release. (LP: #596252) (Forwarded: Debian: 588943)
* debian/control
  - Update dependencies version according to the upstream configure file.
  - Update Standards-Version to 3.9.1.
  - Sync JNI and JAR packages.
* debian/copyright
  - Update copyright to 2011.
* debian/patches/01_take_screenshots.diff
  - Fix patch to make doc screenshots works.
* debian/patches/02_javadoc_workaround.patch
  - Fix javadoc generation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
    public void setValuePosition(PositionType position) {
80
80
        GtkScale.setValuePos(this, position);
81
81
    }
 
82
 
 
83
    /**
 
84
     * Specify if the text displaying the value will be shown. The default is
 
85
     * <code>true</code>.
 
86
     * 
 
87
     * @since 4.0.17
 
88
     */
 
89
    public void setDrawValue(boolean draw) {
 
90
        GtkScale.setDrawValue(this, false);
 
91
    }
 
92
 
 
93
    /**
 
94
     * Is the Scale presently displaying text indicating its value?
 
95
     * 
 
96
     * @since 4.0.17
 
97
     */
 
98
    public boolean getDrawValue() {
 
99
        return GtkScale.getDrawValue(this);
 
100
    }
82
101
}