Revision: 910
Author: allain.lalonde
Date: Tue Dec  1 14:24:07 2009
Log: Stab 2, easy redundant public modifiers.
http://code.google.com/p/piccolo2d/source/detail?r=910

Modified:
   
/piccolo2d.java/trunk/extras/src/main/java/edu/umd/cs/piccolox/swing/SwingLayoutNode.java

=======================================
---  
/piccolo2d.java/trunk/extras/src/main/java/edu/umd/cs/piccolox/swing/SwingLayoutNode.java
        
Tue Dec  1 14:22:28 2009
+++  
/piccolo2d.java/trunk/extras/src/main/java/edu/umd/cs/piccolox/swing/SwingLayoutNode.java
        
Tue Dec  1 14:24:07 2009
@@ -489,7 +489,7 @@
           */

          /** Anchors the node's center as the point used when laying it  
out. */
-        public static final Anchor CENTER = new AbstractAnchor() {
+        static final Anchor CENTER = new AbstractAnchor() {
              /** {...@inheritdoc} */
              public void positionNode(final PNode node, final double x,  
final double y, final double w, final double h) {
                  node.setOffset(centerX(node, x, w), centerY(node, y, h));
@@ -497,7 +497,7 @@
          };

          /** Anchors the node's top center as the point used when laying it  
out. */
-        public static final Anchor NORTH = new AbstractAnchor() {
+        static final Anchor NORTH = new AbstractAnchor() {
              /** {...@inheritdoc} */
              public void positionNode(final PNode node, final double x,  
final double y, final double w, final double h) {
                  node.setOffset(centerX(node, x, w), north(node, y, h));
@@ -505,7 +505,7 @@
          };

          /** Anchors the node's top right as the point used when laying it  
out. */
-        public static final Anchor NORTHEAST = new AbstractAnchor() {
+        static final Anchor NORTHEAST = new AbstractAnchor() {
              /** {...@inheritdoc} */
              public void positionNode(final PNode node, final double x,  
final double y, final double w, final double h) {
                  node.setOffset(east(node, x, w), north(node, y, h));
@@ -515,7 +515,7 @@
          /**
           * Anchors the node's middle right as the point used when laying  
it out.
           */
-        public static final Anchor EAST = new AbstractAnchor() {
+        static final Anchor EAST = new AbstractAnchor() {
              /** {...@inheritdoc} */
              public void positionNode(final PNode node, final double x,  
final double y, final double w, final double h) {
                  node.setOffset(east(node, x, w), centerY(node, y, h));
@@ -525,7 +525,7 @@
          /**
           * Anchors the node's bottom right as the point used when laying  
it out.
           */
-        public static final Anchor SOUTHEAST = new AbstractAnchor() {
+        static final Anchor SOUTHEAST = new AbstractAnchor() {
              /** {...@inheritdoc} */
              public void positionNode(final PNode node, final double x,  
final double y, final double w, final double h) {
                  node.setOffset(east(node, x, w), south(node, y, h));
@@ -536,7 +536,7 @@
           * Anchors the node's center bottom as the point used when laying  
it
           * out.
           */
-        public static final Anchor SOUTH = new AbstractAnchor() {
+        static final Anchor SOUTH = new AbstractAnchor() {
              /** {...@inheritdoc} */
              public void positionNode(final PNode node, final double x,  
final double y, final double w, final double h) {
                  node.setOffset(centerX(node, x, w), south(node, y, h));
@@ -544,7 +544,7 @@
          };

          /** Anchors the node's bottom left as the point used when laying  
it out. */
-        public static final Anchor SOUTHWEST = new AbstractAnchor() {
+        static final Anchor SOUTHWEST = new AbstractAnchor() {
              /** {...@inheritdoc} */
              public void positionNode(final PNode node, final double x,  
final double y, final double w, final double h) {
                  node.setOffset(west(node, x, w), south(node, y, h));
@@ -552,7 +552,7 @@
          };

          /** Anchors the node's middle left as the point used when laying  
it out. */
-        public static final Anchor WEST = new AbstractAnchor() {
+        static final Anchor WEST = new AbstractAnchor() {
              /** {...@inheritdoc} */
              public void positionNode(final PNode node, final double x,  
final double y, final double w, final double h) {
                  node.setOffset(west(node, x, w), centerY(node, y, h));
@@ -560,14 +560,14 @@
          };

          /** Anchors the node's top left as the point used when laying it  
out. */
-        public static final Anchor NORTHWEST = new AbstractAnchor() {
+        static final Anchor NORTHWEST = new AbstractAnchor() {
              /** {...@inheritdoc} */
              public void positionNode(final PNode node, final double x,  
final double y, final double w, final double h) {
                  node.setOffset(west(node, x, w), north(node, y, h));
              }
          };

-        public static abstract class AbstractAnchor implements Anchor {
+        static abstract class AbstractAnchor implements Anchor {
              /**
               * Returns the x at which the given node would need to be  
placed so
               * that its center was in the middle of the horizontal segment

-- 
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en

Reply via email to