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

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 IsResponsive

An interface for classes with a dedicated responsive behavior.

They are only used if the responsive design is turned on!

Since:
2.0.4.0
Author:
Dominik Mayer
See Also:
Configurator.hasResponsiveDesign(), Bootstrap documentation

Method Summary
 void setHideOn(Device device)
          Sets the kind of device, this widget is hidden on.
 void setShowOn(Device device)
          Sets the kind of device, this widget is shown on.
 

Method Detail

setShowOn

void setShowOn(Device device)
Sets the kind of device, this widget is shown on.

The widget is not shown on any other device.

Only works if responsive design is turned on!

Parameters:
device -
See Also:
Configurator.hasResponsiveDesign(), setHideOn(Device)

setHideOn

void setHideOn(Device device)
Sets the kind of device, this widget is hidden on.

The widget is not hidden on any other device.

Only works if responsive design is turned on!

Parameters:
device -
See Also:
Configurator.hasResponsiveDesign(), setShowOn(Device)


Copyright © 2012 gwtbootstrap. All Rights Reserved.