< prev index next >

src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKStyle.java

Print this page

        

@@ -130,12 +130,12 @@
     public SynthGraphicsUtils getGraphicsUtils(SynthContext context) {
         return GTK_GRAPHICS;
     }
 
     /**
-     * Returns a <code>SynthPainter</code> that will route the appropriate
-     * calls to a <code>GTKEngine</code>.
+     * Returns a {@code SynthPainter} that will route the appropriate
+     * calls to a {@code GTKEngine}.
      *
      * @param state SynthContext identifying requestor
      * @return SynthPainter
      */
     @Override

@@ -303,11 +303,11 @@
     int getYThickness() {
         return yThickness;
     }
 
     /**
-     * Returns the Insets. If <code>insets</code> is non-null the resulting
+     * 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,11 +614,11 @@
      *
      * @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
+     * @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,11 +646,11 @@
      *
      * @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
+     * @return Value, or defaultValue if {@code key} is not defined
      */
     int getClassSpecificIntValue(SynthContext context, String key,
                                  int defaultValue)
     {
         Object value = getClassSpecificValue(key);

@@ -666,11 +666,11 @@
      *
      * @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
+     * @return Value, or defaultValue if {@code key} is not defined
      */
     Insets getClassSpecificInsetsValue(SynthContext context, String key,
                                        Insets defaultValue)
     {
         Object value = getClassSpecificValue(key);

@@ -686,11 +686,11 @@
      *
      * @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
+     * @return Value, or defaultValue if {@code key} is not defined
      */
     boolean getClassSpecificBoolValue(SynthContext context, String key,
                                       boolean defaultValue)
     {
         Object value = getClassSpecificValue(key);

@@ -1066,11 +1066,11 @@
             return ltrIcon;
         }
     }
 
     /**
-     * GTKLazyValue is a slimmed down version of <code>ProxyLaxyValue</code>.
+     * 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 >