Skip to content

Instantly share code, notes, and snippets.

@arjunsk
Last active August 18, 2018 07:38
Show Gist options
  • Save arjunsk/b37f6eb8e79564a6eca1b7eb93ff43de to your computer and use it in GitHub Desktop.
Save arjunsk/b37f6eb8e79564a6eca1b7eb93ff43de to your computer and use it in GitHub Desktop.
package decorators;
public class VerticalScrollDecorator extends ScrollDecorator {
public VerticalScrollDecorator(IWindow w) {
super(w);
}
@Override
public String render(String data){
return " :VERTICAL: "+ window.render(data) + " :VERTICAL: ";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment