mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8138838: docs cleanup for java.desktop
Docs cleanup for java.desktop Reviewed-by: serb
This commit is contained in:
parent
aeccbee0e7
commit
73fb68a80d
609 changed files with 19168 additions and 19160 deletions
|
@ -39,25 +39,25 @@ import java.lang.annotation.Native;
|
|||
public interface Adjustable {
|
||||
|
||||
/**
|
||||
* Indicates that the <code>Adjustable</code> has horizontal orientation.
|
||||
* Indicates that the {@code Adjustable} has horizontal orientation.
|
||||
*/
|
||||
@Native public static final int HORIZONTAL = 0;
|
||||
|
||||
/**
|
||||
* Indicates that the <code>Adjustable</code> has vertical orientation.
|
||||
* Indicates that the {@code Adjustable} has vertical orientation.
|
||||
*/
|
||||
@Native public static final int VERTICAL = 1;
|
||||
|
||||
/**
|
||||
* Indicates that the <code>Adjustable</code> has no orientation.
|
||||
* Indicates that the {@code Adjustable} has no orientation.
|
||||
*/
|
||||
@Native public static final int NO_ORIENTATION = 2;
|
||||
|
||||
/**
|
||||
* Gets the orientation of the adjustable object.
|
||||
* @return the orientation of the adjustable object;
|
||||
* either <code>HORIZONTAL</code>, <code>VERTICAL</code>,
|
||||
* or <code>NO_ORIENTATION</code>
|
||||
* either {@code HORIZONTAL}, {@code VERTICAL},
|
||||
* or {@code NO_ORIENTATION}
|
||||
*/
|
||||
int getOrientation();
|
||||
|
||||
|
@ -124,15 +124,15 @@ public interface Adjustable {
|
|||
|
||||
/**
|
||||
* Sets the current value of the adjustable object. If
|
||||
* the value supplied is less than <code>minimum</code>
|
||||
* or greater than <code>maximum</code> - <code>visibleAmount</code>,
|
||||
* the value supplied is less than {@code minimum}
|
||||
* or greater than {@code maximum} - {@code visibleAmount},
|
||||
* then one of those values is substituted, as appropriate.
|
||||
* <p>
|
||||
* Calling this method does not fire an
|
||||
* <code>AdjustmentEvent</code>.
|
||||
* {@code AdjustmentEvent}.
|
||||
*
|
||||
* @param v the current value, between <code>minimum</code>
|
||||
* and <code>maximum</code> - <code>visibleAmount</code>
|
||||
* @param v the current value, between {@code minimum}
|
||||
* and {@code maximum} - {@code visibleAmount}
|
||||
*/
|
||||
void setValue(int v);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue