< prev index next >
src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKStyle.java
Print this page
*** 130,141 ****
public SynthGraphicsUtils getGraphicsUtils(SynthContext context) {
return GTK_GRAPHICS;
}
/**
! * Returns a <code>SynthPainter</code> that will route the appropriate
! * calls to a <code>GTKEngine</code>.
*
* @param state SynthContext identifying requestor
* @return SynthPainter
*/
@Override
--- 130,141 ----
public SynthGraphicsUtils getGraphicsUtils(SynthContext context) {
return GTK_GRAPHICS;
}
/**
! * Returns a {@code SynthPainter} that will route the appropriate
! * calls to a {@code GTKEngine}.
*
* @param state SynthContext identifying requestor
* @return SynthPainter
*/
@Override
*** 303,313 ****
int getYThickness() {
return yThickness;
}
/**
! * Returns the Insets. If <code>insets</code> is non-null the resulting
* insets will be placed in it, otherwise a new Insets object will be
* created and returned.
*
* @param context SynthContext identifying requestor
* @param insets Where to place Insets
--- 303,313 ----
int getYThickness() {
return yThickness;
}
/**
! * Returns the Insets. If {@code insets} is non-null the resulting
* insets will be placed in it, otherwise a new Insets object will be
* created and returned.
*
* @param context SynthContext identifying requestor
* @param insets Where to place Insets
*** 614,624 ****
*
* @param wt WidgetType for which to fetch the value
* @param key Key identifying class specific value
* @param defaultValue Returned if there is no value for the specified
* type
! * @return Value, or defaultValue if <code>key</code> is not defined
*/
private static int getClassSpecificIntValue(WidgetType wt, String key,
int defaultValue)
{
Object value = getClassSpecificValue(wt, key);
--- 614,624 ----
*
* @param wt WidgetType for which to fetch the value
* @param key Key identifying class specific value
* @param defaultValue Returned if there is no value for the specified
* type
! * @return Value, or defaultValue if {@code key} is not defined
*/
private static int getClassSpecificIntValue(WidgetType wt, String key,
int defaultValue)
{
Object value = getClassSpecificValue(wt, key);
*** 646,656 ****
*
* @param context SynthContext identifying requestor
* @param key Key identifying class specific value
* @param defaultValue Returned if there is no value for the specified
* type
! * @return Value, or defaultValue if <code>key</code> is not defined
*/
int getClassSpecificIntValue(SynthContext context, String key,
int defaultValue)
{
Object value = getClassSpecificValue(key);
--- 646,656 ----
*
* @param context SynthContext identifying requestor
* @param key Key identifying class specific value
* @param defaultValue Returned if there is no value for the specified
* type
! * @return Value, or defaultValue if {@code key} is not defined
*/
int getClassSpecificIntValue(SynthContext context, String key,
int defaultValue)
{
Object value = getClassSpecificValue(key);
*** 666,676 ****
*
* @param context SynthContext identifying requestor
* @param key Key identifying class specific value
* @param defaultValue Returned if there is no value for the specified
* type
! * @return Value, or defaultValue if <code>key</code> is not defined
*/
Insets getClassSpecificInsetsValue(SynthContext context, String key,
Insets defaultValue)
{
Object value = getClassSpecificValue(key);
--- 666,676 ----
*
* @param context SynthContext identifying requestor
* @param key Key identifying class specific value
* @param defaultValue Returned if there is no value for the specified
* type
! * @return Value, or defaultValue if {@code key} is not defined
*/
Insets getClassSpecificInsetsValue(SynthContext context, String key,
Insets defaultValue)
{
Object value = getClassSpecificValue(key);
*** 686,696 ****
*
* @param context SynthContext identifying requestor
* @param key Key identifying class specific value
* @param defaultValue Returned if there is no value for the specified
* type
! * @return Value, or defaultValue if <code>key</code> is not defined
*/
boolean getClassSpecificBoolValue(SynthContext context, String key,
boolean defaultValue)
{
Object value = getClassSpecificValue(key);
--- 686,696 ----
*
* @param context SynthContext identifying requestor
* @param key Key identifying class specific value
* @param defaultValue Returned if there is no value for the specified
* type
! * @return Value, or defaultValue if {@code key} is not defined
*/
boolean getClassSpecificBoolValue(SynthContext context, String key,
boolean defaultValue)
{
Object value = getClassSpecificValue(key);
*** 1066,1076 ****
return ltrIcon;
}
}
/**
! * GTKLazyValue is a slimmed down version of <code>ProxyLaxyValue</code>.
* The code is duplicate so that it can get at the package private
* classes in gtk.
*/
static class GTKLazyValue implements UIDefaults.LazyValue {
/**
--- 1066,1076 ----
return ltrIcon;
}
}
/**
! * GTKLazyValue is a slimmed down version of {@code ProxyLaxyValue}.
* The code is duplicate so that it can get at the package private
* classes in gtk.
*/
static class GTKLazyValue implements UIDefaults.LazyValue {
/**
< prev index next >