Java Code Examples for com.google.gwt.dom.client.DivElement#TAG

The following examples show how to use com.google.gwt.dom.client.DivElement#TAG . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Carousel.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 6 votes vote down vote up
public Carousel() {
	super(DivElement.TAG);
	this.append(this.carouselIndicators);
	this.append(this.carouselInner);
	this.append(this.leftButton);
	this.append(this.rightButton);
	StyleUtils.addStyle(this, Carousel.STYLE_CAROUSEL);
	StyleUtils.addStyle(this.carouselInner, Carousel.STYLE_CAROUSEL_INNER);
	StyleUtils.addStyle(this.carouselIndicators, Carousel.STYLE_CAROUSEL_INDICATORS);
	StyleUtils.addStyle(this.leftButton, Carousel.STYLE_CAROUSEL_CONTROL);
	StyleUtils.addStyle(this.leftButton, LeftRightType.LEFT);
	StyleUtils.addStyle(this.rightButton, Carousel.STYLE_CAROUSEL_CONTROL);
	StyleUtils.addStyle(this.rightButton, LeftRightType.RIGHT);
	this.leftButton.addClickHandler(this);
	this.rightButton.addClickHandler(this);
	this.leftButton.getElement().setInnerHTML("<i class=\"icon-prev\"/>");
	this.rightButton.getElement().setInnerHTML("<i class=\"icon-next\"/>");
}
 
Example 2
Source File: Modal.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 5 votes vote down vote up
public Modal() {
	super(DivElement.TAG);

	StyleUtils.addStyle(this, Modal.STYLE_MODAL);
	StyleUtils.addStyle(this, Modal.STYLE_FADE);

	this.append(this.dialogContainer);
	this.dialogContainer.append(this.contentContainer);

	StyleUtils.addStyle(this.dialogContainer, Modal.STYLE_DIALOG);
	StyleUtils.addStyle(this.contentContainer, Modal.STYLE_CONTENT);
	StyleUtils.addStyle(this.bodyContainer, Modal.STYLE_BODY);
}
 
Example 3
Source File: Table.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 5 votes vote down vote up
public Table() {
	super(DivElement.TAG);

	this.endConstruct();

	this.setStriped(this.striped);
	this.setHover(this.hover);
	this.setCondensed(this.condensed);
}
 
Example 4
Source File: PanelAccordion.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
public PanelAccordion() {
	super(DivElement.TAG);
	StyleUtils.addStyle(this, PanelAccordion.STYLE_PANEL_GROUP);
}
 
Example 5
Source File: ButtonDropdown.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
public ButtonDropdown() {
	super(DivElement.TAG);
	StyleUtils.addStyle(this, ButtonDropdown.STYLE_BUTTON_GROUP);
	StyleUtils.addStyle(this.getAnchor(), ButtonDropdown.STYLE_BUTTON);
	this.setType(this.type);
}
 
Example 6
Source File: Affix.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
public Affix() {
	super(DivElement.TAG);
	StyleUtils.toggleStyle(Affix.this, this.affixed, true);
}
 
Example 7
Source File: Panel.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
public Panel() {
	super(DivElement.TAG);
	this.endConstruct();
}
 
Example 8
Source File: OutputProgressBar.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
public OutputProgressBar() {
	super(DivElement.TAG);
	StyleUtils.addStyle(this, OutputProgressBar.STYLE_PROGRESS);
	this.endConstruct();
}
 
Example 9
Source File: Container.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
public Container() {
	super(DivElement.TAG);
}
 
Example 10
Source File: ButtonGroup.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
public ButtonGroup() {
	super(DivElement.TAG);
	this.setSize(this.size);
	this.setType(this.type);
}
 
Example 11
Source File: Form.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
public Form(String html) {
	super(DivElement.TAG, html);
	StyleUtils.addStyle(this, Form.STYLE_FORM);
	this.getElement().setAttribute("role", "form");
}
 
Example 12
Source File: OutputGroup.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
public OutputGroup(String html) {
	super(DivElement.TAG, html);
	StyleUtils.addStyle(this, EditorOutput.STYLE_CONTROL_STATIC);
}
 
Example 13
Source File: CarouselItem.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
public CarouselItem(String html) {
	super(DivElement.TAG, html);
	StyleUtils.addStyle(this, CarouselItem.STYLE_CAROUSEL_ITEM);
}
 
Example 14
Source File: Footer.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
public Footer(String html) {
	super(DivElement.TAG, html);
}
 
Example 15
Source File: Navbar.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
public Navbar() {
	super(DivElement.TAG);
	this.endConstruct();
}
 
Example 16
Source File: ScrollPanel.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
public ScrollPanel() {
	super(DivElement.TAG);
}
 
Example 17
Source File: TabPanelContent.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
public TabPanelContent() {
	super(DivElement.TAG);
	StyleUtils.addStyle(this, TabPanelContent.STYLE_TAB_PANE);
	StyleUtils.addStyle(this, TabPanelContent.STYLE_FADE);
}
 
Example 18
Source File: GridColumn.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
public GridColumn(String html) {
	super(DivElement.TAG, html);
	this.redraw();
}
 
Example 19
Source File: InputGroup.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
public InputGroup() {
	super(DivElement.TAG);
	this.setStyle(this.style);
	this.setSize(this.size);
}
 
Example 20
Source File: TabPanel.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
public TabPanel() {
	super(DivElement.TAG);
	this.endConstruct();
	this.setStyle(Style.TABS);
}