diff options
Diffstat (limited to 'src/newt/classes/com/jogamp/newt/Window.java')
-rw-r--r-- | src/newt/classes/com/jogamp/newt/Window.java | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/src/newt/classes/com/jogamp/newt/Window.java b/src/newt/classes/com/jogamp/newt/Window.java index a5c0711df..607ed285c 100644 --- a/src/newt/classes/com/jogamp/newt/Window.java +++ b/src/newt/classes/com/jogamp/newt/Window.java @@ -1049,12 +1049,30 @@ public interface Window extends NativeWindow, WindowClosingProtocol, ScalableSur void runOnEDTIfAvail(boolean wait, final Runnable task); /** - * Appends this class string representation to the given {@link StringBuilder} instance - * @param sb given instance where this class string representation is added to + * Appends this class simple string one-line representation to the given {@link StringBuilder} instance + * @param sb given instance where this class simple string representation is added to * @return the given {@link StringBuilder} for chaining */ - StringBuilder append(StringBuilder sb); + StringBuilder toSimpleString(StringBuilder sb); + /** + * Returns a simple string one-line representation of this instance using {@link #toSimpleString(StringBuilder)}. + */ + String toSimpleString(); + + /** + * Appends this class full string multi-line representation to the given {@link StringBuilder} instance + * @param sb given instance where this class full string representation is added to + * @return the given {@link StringBuilder} for chaining + */ + StringBuilder toString(StringBuilder sb); + + /** + * Returns a full string multi-line representation of this instance using {@link #toString(StringBuilder)}. + * <p> + * {@inheritDoc} + * </p> + */ @Override String toString(); |