/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
public final class JRSUIConstants {
static class Key {
final int constant;
private long ptr;
}
long getConstantPtr() {
throw new RuntimeException("Constant not implemented in native: " + this);
}
}
}
static class DoubleValue {
final double doubleValue;
this.doubleValue = doubleValue;
}
public byte getTypeCode() {
return TYPE_CODE;
}
}
}
public int hashCode() {
}
}
}
static class PropertyEncoding {
final long mask;
final byte shift;
}
}
static class Property {
final long value;
final byte ordinal;
}
/**
* Applies this property value to the provided state
* @param encodedState the incoming JRSUI encoded state
* @return the composite of the provided JRSUI encoded state and this value
*/
}
return getConstantName(this);
}
}
}
}
}
}
}
}
super(orientation, value);
}
}
super(alignmentVertical, value);
}
}
super(alignmentHorizontal, value);
}
}
super(segmentPosition, value);
}
}
super(scrollBarPart, value);
}
}
}
public static final Variant GRADIENT_LIST_BACKGROUND_EVEN = new Variant(_gradientListBackgroundEven);
public static final Variant GRADIENT_SIDE_BAR_FOCUSED_SELECTION = new Variant(_gradientSideBarFocusedSelection);
}
super(windowType, value);
}
}
}
}
super(indicatorOnly, value);
}
}
super(noIndicator, value);
}
}
}
}
}
}
}
}
super(leadingSeparator, value);
}
}
}
}
}
}
}
}
super(showArrows, value);
}
}
super(booleanValue, value);
}
}
}
}
}
public static final Widget BUTTON_COMBO_BOX_INSET = new Widget(_buttonComboBoxInset); // not hooked up in JRSUIConstants.m
}
public static class Hit {
final int hit;
public boolean isHit() {
return hit > 0;
}
return getConstantName(this);
}
}
}
switch (hit) {
case ScrollBarHit._thumb:
return ScrollBarHit.THUMB;
case ScrollBarHit._trackMin:
return ScrollBarHit.TRACK_MIN;
case ScrollBarHit._trackMax:
return ScrollBarHit.TRACK_MAX;
case ScrollBarHit._arrowMin:
return ScrollBarHit.ARROW_MIN;
case ScrollBarHit._arrowMax:
return ScrollBarHit.ARROW_MAX;
case ScrollBarHit._arrowMaxInside:
return ScrollBarHit.ARROW_MAX_INSIDE;
case ScrollBarHit._arrowMinInside:
return ScrollBarHit.ARROW_MIN_INSIDE;
}
}
try {
}
}
} catch (final Exception e) {}
return clazz.getSimpleName();
}
}