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 2013/03/06 17:03:55 UTC
svn commit: r1453397 -
/pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/Label.java
Author: smartini
Date: Wed Mar 6 16:03:55 2013
New Revision: 1453397
URL: http://svn.apache.org/r1453397
Log:
add toString() for simpler debugging
Modified:
pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/Label.java
Modified: pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/Label.java
URL: http://svn.apache.org/viewvc/pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/Label.java?rev=1453397&r1=1453396&r2=1453397&view=diff
==============================================================================
--- pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/Label.java (original)
+++ pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/Label.java Wed Mar 6 16:03:55 2013
@@ -256,4 +256,10 @@ public class Label extends Component {
public ListenerList<LabelBindingListener> getLabelBindingListeners() {
return labelBindingListeners;
}
+
+ @Override
+ public String toString() {
+ return getClass().getName() + " [\"" + getText() + "\"]";
+ }
+
}