java.awt.peer.ScrollbarPeer Java Examples
The following examples show how to use
java.awt.peer.ScrollbarPeer.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Scrollbar.java From jdk8u_jdk with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setBlockIncrement()</code>. */ @Deprecated public synchronized void setPageIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (pageIncrement == tmp) { return; } pageIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setPageIncrement(pageIncrement); } }
Example #2
Source File: Scrollbar.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setUnitIncrement(int)</code>. */ @Deprecated public synchronized void setLineIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (lineIncrement == tmp) { return; } lineIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setLineIncrement(lineIncrement); } }
Example #3
Source File: Scrollbar.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setBlockIncrement()</code>. */ @Deprecated public synchronized void setPageIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (pageIncrement == tmp) { return; } pageIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setPageIncrement(pageIncrement); } }
Example #4
Source File: Scrollbar.java From Bytecoder with Apache License 2.0 | 5 votes |
/** * Sets the unit increment for this scroll bar. * * @param v the increment value * * @deprecated As of JDK version 1.1, * replaced by {@code setUnitIncrement(int)}. */ @Deprecated public synchronized void setLineIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (lineIncrement == tmp) { return; } lineIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setLineIncrement(lineIncrement); } }
Example #5
Source File: Scrollbar.java From Bytecoder with Apache License 2.0 | 5 votes |
/** * Sets the block increment for this scroll bar. * * @param v the block increment * @deprecated As of JDK version 1.1, * replaced by {@code setBlockIncrement()}. */ @Deprecated public synchronized void setPageIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (pageIncrement == tmp) { return; } pageIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setPageIncrement(pageIncrement); } }
Example #6
Source File: Scrollbar.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setUnitIncrement(int)</code>. */ @Deprecated public synchronized void setLineIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (lineIncrement == tmp) { return; } lineIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setLineIncrement(lineIncrement); } }
Example #7
Source File: Scrollbar.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Sets the unit increment for this scroll bar. * * @param v the increment value * * @deprecated As of JDK version 1.1, * replaced by {@code setUnitIncrement(int)}. */ @Deprecated public synchronized void setLineIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (lineIncrement == tmp) { return; } lineIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setLineIncrement(lineIncrement); } }
Example #8
Source File: Scrollbar.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Sets the block increment for this scroll bar. * * @param v the block increment * @deprecated As of JDK version 1.1, * replaced by {@code setBlockIncrement()}. */ @Deprecated public synchronized void setPageIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (pageIncrement == tmp) { return; } pageIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setPageIncrement(pageIncrement); } }
Example #9
Source File: Scrollbar.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setUnitIncrement(int)</code>. */ @Deprecated public synchronized void setLineIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (lineIncrement == tmp) { return; } lineIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setLineIncrement(lineIncrement); } }
Example #10
Source File: Scrollbar.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setBlockIncrement()</code>. */ @Deprecated public synchronized void setPageIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (pageIncrement == tmp) { return; } pageIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setPageIncrement(pageIncrement); } }
Example #11
Source File: Scrollbar.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setBlockIncrement()</code>. */ @Deprecated public synchronized void setPageIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (pageIncrement == tmp) { return; } pageIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setPageIncrement(pageIncrement); } }
Example #12
Source File: Scrollbar.java From Java8CN with Apache License 2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setUnitIncrement(int)</code>. */ @Deprecated public synchronized void setLineIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (lineIncrement == tmp) { return; } lineIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setLineIncrement(lineIncrement); } }
Example #13
Source File: Scrollbar.java From Java8CN with Apache License 2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setBlockIncrement()</code>. */ @Deprecated public synchronized void setPageIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (pageIncrement == tmp) { return; } pageIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setPageIncrement(pageIncrement); } }
Example #14
Source File: Scrollbar.java From jdk8u_jdk with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setUnitIncrement(int)</code>. */ @Deprecated public synchronized void setLineIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (lineIncrement == tmp) { return; } lineIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setLineIncrement(lineIncrement); } }
Example #15
Source File: Scrollbar.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setUnitIncrement(int)</code>. */ @Deprecated public synchronized void setLineIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (lineIncrement == tmp) { return; } lineIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setLineIncrement(lineIncrement); } }
Example #16
Source File: Scrollbar.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setBlockIncrement()</code>. */ @Deprecated public synchronized void setPageIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (pageIncrement == tmp) { return; } pageIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setPageIncrement(pageIncrement); } }
Example #17
Source File: Scrollbar.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setUnitIncrement(int)</code>. */ @Deprecated public synchronized void setLineIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (lineIncrement == tmp) { return; } lineIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setLineIncrement(lineIncrement); } }
Example #18
Source File: Scrollbar.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setBlockIncrement()</code>. */ @Deprecated public synchronized void setPageIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (pageIncrement == tmp) { return; } pageIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setPageIncrement(pageIncrement); } }
Example #19
Source File: Scrollbar.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setBlockIncrement()</code>. */ @Deprecated public synchronized void setPageIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (pageIncrement == tmp) { return; } pageIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setPageIncrement(pageIncrement); } }
Example #20
Source File: Scrollbar.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setUnitIncrement(int)</code>. */ @Deprecated public synchronized void setLineIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (lineIncrement == tmp) { return; } lineIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setLineIncrement(lineIncrement); } }
Example #21
Source File: Scrollbar.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setBlockIncrement()</code>. */ @Deprecated public synchronized void setPageIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (pageIncrement == tmp) { return; } pageIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setPageIncrement(pageIncrement); } }
Example #22
Source File: Scrollbar.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setBlockIncrement()</code>. */ @Deprecated public synchronized void setPageIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (pageIncrement == tmp) { return; } pageIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setPageIncrement(pageIncrement); } }
Example #23
Source File: Scrollbar.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setUnitIncrement(int)</code>. */ @Deprecated public synchronized void setLineIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (lineIncrement == tmp) { return; } lineIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setLineIncrement(lineIncrement); } }
Example #24
Source File: Scrollbar.java From dragonwell8_jdk with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setUnitIncrement(int)</code>. */ @Deprecated public synchronized void setLineIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (lineIncrement == tmp) { return; } lineIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setLineIncrement(lineIncrement); } }
Example #25
Source File: Scrollbar.java From dragonwell8_jdk with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setBlockIncrement()</code>. */ @Deprecated public synchronized void setPageIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (pageIncrement == tmp) { return; } pageIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setPageIncrement(pageIncrement); } }
Example #26
Source File: Scrollbar.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setBlockIncrement()</code>. */ @Deprecated public synchronized void setPageIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (pageIncrement == tmp) { return; } pageIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setPageIncrement(pageIncrement); } }
Example #27
Source File: Scrollbar.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setUnitIncrement(int)</code>. */ @Deprecated public synchronized void setLineIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (lineIncrement == tmp) { return; } lineIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setLineIncrement(lineIncrement); } }
Example #28
Source File: Scrollbar.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setBlockIncrement()</code>. */ @Deprecated public synchronized void setPageIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (pageIncrement == tmp) { return; } pageIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setPageIncrement(pageIncrement); } }
Example #29
Source File: Scrollbar.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setUnitIncrement(int)</code>. */ @Deprecated public synchronized void setLineIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (lineIncrement == tmp) { return; } lineIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setLineIncrement(lineIncrement); } }
Example #30
Source File: Scrollbar.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * @deprecated As of JDK version 1.1, * replaced by <code>setUnitIncrement(int)</code>. */ @Deprecated public synchronized void setLineIncrement(int v) { int tmp = (v < 1) ? 1 : v; if (lineIncrement == tmp) { return; } lineIncrement = tmp; ScrollbarPeer peer = (ScrollbarPeer)this.peer; if (peer != null) { peer.setLineIncrement(lineIncrement); } }