4344454647484950515253
setStyleName(Styles.NAVBAR_TEXT); } @Override public void setPull(final Pull pull) { NavbarPull navbarPull = NavbarPull.NONE; if (pull == Pull.LEFT) { navbarPull = NavbarPull.LEFT; } else { navbarPull = NavbarPull.RIGHT;
5657585960616263646566
StyleHelper.addUniqueEnumStyleName(this, NavbarPull.class, navbarPull); } @Override public Pull getPull() { final NavbarPull navbarPull = NavbarPull.fromStyleName(getStyleName()); if (navbarPull == NavbarPull.NONE) { return Pull.NONE; }
4142434445464748495051
addStyleName(Styles.NAVBAR_NAV); } @Override public void setPull(final Pull pull) { NavbarPull navbarPull = NavbarPull.NONE; if (pull == Pull.LEFT) { navbarPull = NavbarPull.LEFT; } else { navbarPull = NavbarPull.RIGHT;
5455565758596061626364
3738394041424344454647
setStyleName(Styles.NAVBAR_FORM); } @Override public void setPull(final Pull pull) { final NavbarPull navbarPull; if (pull == Pull.LEFT) { navbarPull = NavbarPull.LEFT; } else { navbarPull = NavbarPull.RIGHT;
5051525354555657585960
32333435363738394041
public Card() { // Add required style names addStyleName(CardStyles.FLIP); // Inner child to complete the card card = new Div(); card.addStyleName(CardStyles.CARD); super.add(card); }
9899100101102103104105106
public Pull getPull() { return pullMixin.getPull(); } private Span newBarIcon() { final Span span = new Span(); span.setStyleName(Styles.ICON_BAR); return span; }
5859606162636465
/** * {@inheritDoc} */ @Override public void setText(final String text) { this.text = new Text(text); add(this.text, (Element) getElement()); }