/** * Returns a string containing a concise, human-readable * description of the receiver. * * @return a string representation of the event */ @Override public String toString() { String string = super.toString (); return string.substring (0, string.length() - 1) // remove trailing '}' + " detail=" + detail + "}"; } }
/** * Returns a string containing a concise, human-readable * description of the receiver. * * @return a string representation of the event */ public String toString() { String string = super.toString (); return string.substring (0, string.length() - 1) // remove trailing '}' + " detail=" + detail + "}"; } }
/** * Returns a string containing a concise, human-readable * description of the receiver. * * @return a string representation of the event */ @Override public String toString() { String string = super.toString (); return string.substring (0, string.length() - 1) // remove trailing '}' + " start=" + start + " end=" + end + " text=" + text + "}"; } }
/** * Returns a string containing a concise, human-readable * description of the receiver. * * @return a string representation of the event */ @Override public String toString() { String string = super.toString (); return string.substring (0, string.length() - 1) // remove trailing '}' + " start=" + start + " end=" + end + " text=" + text + "}"; } }
/** * Returns a string containing a concise, human-readable * description of the receiver. * * @return a string representation of the event */ @Override public String toString() { String string = super.toString (); return string.substring (0, string.length() - 1) // remove trailing '}' + " start=" + start + " end=" + end + " text=" + text + "}"; } }
/** * Returns a string containing a concise, human-readable description of the * receiver. * * @return a string representation of the event */ @Override public String toString() { String string = super.toString(); return string.substring( 0, string.length() - 1 ) // remove trailing '}' + " detail=" + detail + "}"; }
/** * Returns a string containing a concise, human-readable * description of the receiver. * * @return a string representation of the event */ @Override public String toString() { String string = super.toString (); return string.substring (0, string.length() - 1) // remove trailing '}' + " detail=" + detail + "}"; } }
/** * Returns a string containing a concise, human-readable * description of the receiver. * * @return a string representation of the event */ @Override public String toString() { String string = super.toString (); return string.substring (0, string.length() - 1) // remove trailing '}' + " detail=" + detail + "}"; } }
/** * Returns a string containing a concise, human-readable * description of the receiver. * * @return a string representation of the event */ public String toString() { String string = super.toString (); return string.substring (0, string.length() - 1) // remove trailing '}' + " start=" + start + " end=" + end + " text=" + text + "}"; } }
/** * Returns a string containing a concise, human-readable * description of the receiver. * * @return a string representation of the event */ @Override public String toString() { String string = super.toString (); return string.substring (0, string.length() - 1) // remove trailing '}' + " detail=" + detail + "}"; } }
/** * Returns a string containing a concise, human-readable * description of the receiver. * * @return a string representation of the event */ @Override public String toString() { String string = super.toString (); return string.substring (0, string.length() - 1) // remove trailing '}' + " start=" + start + " end=" + end + " text=" + text + "}"; } }
/** * Returns a string containing a concise, human-readable * description of the receiver. * * @return a string representation of the event */ @Override public String toString() { String string = super.toString(); return string.substring( 0, string.length() - 1 ) // remove trailing '}' // differs from SWT: no doit in superclass, thus add explicitly + " doit=" + doit + " start=" + start + " end=" + end + " text=" + text + "}"; } }
switch (event.type) { case SWT.KeyDown: case SWT.KeyUp: toString += new KeyEvent (event).toString (); break; case SWT.MouseDown: case SWT.MouseUp: