com.github.gwtbootstrap.client.ui.base
Interface HasStyle

All Known Implementing Classes:
Abbreviation, AbstractTypography, AddOn, Alert, AlertBase, AlertBlock, AppendButton, Blockquote, Breadcrumbs, Button, ButtonGroup, ButtonToolbar, Caret, CellTable, CheckBox, Code, Column, ComplexWidget, Container, ControlGroup, ControlLabel, Controls, DataGrid, DateBox, DateBoxAppended, DateBoxBase, Divider, DivWidget, DoubleBox, Dropdown, DropdownBase, DropdownButton, DropdownContainer, DropdownTab, Emphasis, Fieldset, FluidContainer, FluidRow, Footer, Form, FormActions, FormLabel, Heading, HelpBlock, Hero, HoverBase, HtmlWidget, IconAnchor, InputAddOn, IntegerBox, Legend, ListBox, ListItem, LongBox, Modal, ModalFooter, Nav, Navbar, NavbarButton, NavCollapse, NavForm, NavFormBase, NavHeader, NavLink, NavList, NavPills, NavSearch, NavTabs, NavText, NavWidget, PageHeader, Pager, Pagination, Paragraph, PasswordTextBox, Popover, PrependButton, ProgressBar, RadioButton, ResponsiveNavbar, Row, Section, SplitDropdownButton, StackedNav, Strong, Tab, Table, TabLink, TabPane, TabPanel, TextArea, TextBox, TextBoxBase, Tooltip, UneditableInput, UnorderedList, ValueBox, ValueBoxBase, ValueListBox, VerticalDivider, Well, WellForm, WellNavList

public interface HasStyle

Interface for components that have a Style

Since:
2.0.4.0
Author:
Dominik Mayer

Method Summary
 void addStyle(Style style)
          Adds the provided style to the widget.
 void removeStyle(Style style)
          Removes the provided style from the widget.
 void setStyle(Style style)
          Replaces the widet's style with the provided one.
 

Method Detail

setStyle

void setStyle(Style style)
Replaces the widet's style with the provided one.

Parameters:
style - the style to be applied to the Widget.

addStyle

void addStyle(Style style)
Adds the provided style to the widget.

Parameters:
style - the style to be added to the Widget.

removeStyle

void removeStyle(Style style)
Removes the provided style from the widget.

Parameters:
style - the style to be removed from the Widget.


Copyright © 2012 gwtbootstrap. All Rights Reserved.