Skip to content

Instantly share code, notes, and snippets.

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