List of usage examples for com.google.gwt.user.client.ui HasDirectionalText HasDirectionalText
HasDirectionalText
From source file:cc.kune.common.client.ui.dialogs.BSBasicDialog.java
License:GNU Affero Public License
public BSBasicDialog() { initWidget(uiBinder.createAndBindUi(this)); this.fireEvent(null); title = new HasDirectionalText() { @Override// ww w.j a va2s .co m public String getText() { return modal.getTitle(); } @Override public Direction getTextDirection() { // TODO return Direction.LTR; } @Override public void setText(final String text) { modal.setTitle(text); } @Override public void setText(final String text, final Direction dir) { // TODO modal.setTitle(text); } }; }