You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by sm...@apache.org on 2009/08/31 17:14:49 UTC

svn commit: r809622 - in /incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk: CornerRadii.java Insets.java Limits.java Point.java PushButton.java RadioButton.java Sheet.java Span.java

Author: smartini
Date: Mon Aug 31 15:14:49 2009
New Revision: 809622

URL: http://svn.apache.org/viewvc?rev=809622&view=rev
Log:
add some override

Modified:
    incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/CornerRadii.java
    incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Insets.java
    incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Limits.java
    incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Point.java
    incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/PushButton.java
    incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/RadioButton.java
    incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Sheet.java
    incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Span.java

Modified: incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/CornerRadii.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/CornerRadii.java?rev=809622&r1=809621&r2=809622&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/CornerRadii.java (original)
+++ incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/CornerRadii.java Mon Aug 31 15:14:49 2009
@@ -116,6 +116,7 @@
         return (topLeft * topRight) ^ (bottomLeft * bottomRight);
     }
 
+    @Override
     public String toString() {
         return getClass().getName() + " [" + topLeft + ", " + topRight
             + bottomLeft + ", " + bottomRight + "]";

Modified: incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Insets.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Insets.java?rev=809622&r1=809621&r2=809622&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Insets.java (original)
+++ incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Insets.java Mon Aug 31 15:14:49 2009
@@ -119,6 +119,7 @@
         return (top * left) ^ (bottom * right);
     }
 
+    @Override
     public String toString() {
         return getClass().getName() + " [" + top + ", " + left + ", "
             + bottom + ", " + right + "]";

Modified: incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Limits.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Limits.java?rev=809622&r1=809621&r2=809622&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Limits.java (original)
+++ incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Limits.java Mon Aug 31 15:14:49 2009
@@ -111,6 +111,7 @@
         return 31 * min + max;
     }
 
+    @Override
     public String toString() {
         StringBuilder buf = new StringBuilder();
 

Modified: incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Point.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Point.java?rev=809622&r1=809621&r2=809622&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Point.java (original)
+++ incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Point.java Mon Aug 31 15:14:49 2009
@@ -89,6 +89,7 @@
         return x * y;
     }
 
+    @Override
     public String toString() {
         return getClass().getName() + " [" + x + "," + y + "]";
     }

Modified: incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/PushButton.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/PushButton.java?rev=809622&r1=809621&r2=809622&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/PushButton.java (original)
+++ incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/PushButton.java Mon Aug 31 15:14:49 2009
@@ -45,6 +45,7 @@
         installSkin(PushButton.class);
     }
 
+    @Override
     public void press() {
         if (isToggleButton()) {
             State state = getState();

Modified: incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/RadioButton.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/RadioButton.java?rev=809622&r1=809621&r2=809622&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/RadioButton.java (original)
+++ incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/RadioButton.java Mon Aug 31 15:14:49 2009
@@ -50,6 +50,7 @@
         installSkin(RadioButton.class);
     }
 
+    @Override
     public void press() {
         setSelected(true);
 

Modified: incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Sheet.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Sheet.java?rev=809622&r1=809621&r2=809622&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Sheet.java (original)
+++ incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Sheet.java Mon Aug 31 15:14:49 2009
@@ -54,6 +54,7 @@
 
     private ComponentMouseButtonListener ownerMouseButtonListener =
         new ComponentMouseButtonListener.Adapter() {
+        @Override
         public boolean mouseDown(Component component, Mouse.Button button, int x, int y) {
             Window owner = (Window)component;
             Component ownerContent = owner.getContent();
@@ -125,6 +126,7 @@
         }
     }
 
+    @Override
     public final void open(Window owner) {
         open(owner, null);
     }

Modified: incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Span.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Span.java?rev=809622&r1=809621&r2=809622&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Span.java (original)
+++ incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/Span.java Mon Aug 31 15:14:49 2009
@@ -179,6 +179,7 @@
         return 31 * start + end;
     }
 
+    @Override
     public String toString() {
         return ("{start: " + start + ", end: " + end + "}");
     }