-
-
Save mbarkley/57263b6c2ab4873706e226cf1e099a3b to your computer and use it in GitHub Desktop.
Bindable wrapper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Bindable | |
public class Wrapper { | |
private Model wrapped; | |
public void wrap(Model wrapped) { | |
this.wrapped = wrapped; | |
} | |
public void setFoo(Object foo) { | |
wrap.setFoo(foo); | |
} | |
public Object getFoo() { | |
return wrap.getFoo(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment