import java.util.HashMap;
import java.util.Map;
-import com.vaadin.client.ui.absolutelayout.VAbsoluteLayout;
import com.vaadin.shared.ui.AbstractLayoutState;
public class AbsoluteLayoutState extends AbstractLayoutState {
{
- primaryStyleName = VAbsoluteLayout.CLASSNAME;
+ primaryStyleName = "v-absolutelayout";
}
// Maps each component to a position
package com.vaadin.shared.ui.browserframe;
-import com.vaadin.client.ui.browserframe.VBrowserFrame;
import com.vaadin.shared.ui.AbstractEmbeddedState;
public class BrowserFrameState extends AbstractEmbeddedState {
{
- primaryStyleName = VBrowserFrame.CLASSNAME;
+ primaryStyleName = "v-browserframe";
}
}
package com.vaadin.shared.ui.button;
-import com.vaadin.client.ui.button.VButton;
import com.vaadin.shared.ComponentState;
import com.vaadin.shared.ui.TabIndexState;
*/
public class ButtonState extends TabIndexState {
{
- primaryStyleName = VButton.CLASSNAME;
+ primaryStyleName = "v-button";
}
public boolean disableOnClick = false;
public int clickShortcutKeyCode = 0;
*/
package com.vaadin.shared.ui.checkbox;
-import com.vaadin.client.ui.checkbox.VCheckBox;
import com.vaadin.shared.AbstractFieldState;
public class CheckBoxState extends AbstractFieldState {
{
- primaryStyleName = VCheckBox.CLASSNAME;
+ primaryStyleName = "v-checkbox";
}
public boolean checked = false;
package com.vaadin.shared.ui.combobox;
-import com.vaadin.client.ui.combobox.VFilterSelect;
import com.vaadin.shared.AbstractFieldState;
public class ComboBoxState extends AbstractFieldState {
{
- primaryStyleName = VFilterSelect.CLASSNAME;
+ primaryStyleName = "v-filterselect";
}
}
import java.util.HashMap;
import java.util.Map;
-import com.vaadin.client.ui.csslayout.VCssLayout;
import com.vaadin.shared.Connector;
import com.vaadin.shared.ui.AbstractLayoutState;
public class CssLayoutState extends AbstractLayoutState {
{
- primaryStyleName = VCssLayout.CLASSNAME;
+ primaryStyleName = "v-csslayout";
}
public Map<Connector, String> childCss = new HashMap<Connector, String>();
}
\ No newline at end of file
import java.util.HashMap;
import java.util.Map;
-import com.vaadin.client.ui.customlayout.VCustomLayout;
import com.vaadin.shared.Connector;
import com.vaadin.shared.ui.AbstractLayoutState;
public class CustomLayoutState extends AbstractLayoutState {
{
- primaryStyleName = VCustomLayout.CLASSNAME;
+ primaryStyleName = "v-customlayout";
}
public Map<Connector, String> childLocations = new HashMap<Connector, String>();
public String templateContents;
package com.vaadin.shared.ui.datefield;
-import com.vaadin.client.ui.datefield.VDateFieldCalendar;
import com.vaadin.shared.AbstractFieldState;
public class InlineDateFieldState extends AbstractFieldState {
{
- primaryStyleName = VDateFieldCalendar.CLASSNAME;
+ primaryStyleName = "v-datefield";
}
}
package com.vaadin.shared.ui.datefield;
-import com.vaadin.client.ui.datefield.VPopupCalendar;
-
public class PopupDateFieldState extends TextualDateFieldState {
{
- primaryStyleName = VPopupCalendar.CLASSNAME;
+ primaryStyleName = "v-datefield";
}
}
package com.vaadin.shared.ui.datefield;
-import com.vaadin.client.ui.datefield.VTextualDate;
import com.vaadin.shared.AbstractFieldState;
public class TextualDateFieldState extends AbstractFieldState {
{
- primaryStyleName = VTextualDate.CLASSNAME;
+ primaryStyleName = "v-datefield";
}
}
package com.vaadin.shared.ui.embedded;
-import com.vaadin.client.ui.embedded.VEmbedded;
import com.vaadin.shared.ui.AbstractEmbeddedState;
public class EmbeddedState extends AbstractEmbeddedState {
{
- primaryStyleName = VEmbedded.CLASSNAME;
+ primaryStyleName = "v-embedded";
}
}
import java.util.Map;
-import com.vaadin.client.ui.flash.VFlash;
import com.vaadin.shared.ui.AbstractEmbeddedState;
public class FlashState extends AbstractEmbeddedState {
{
- primaryStyleName = VFlash.CLASSNAME;
+ primaryStyleName = "v-flash";
}
public String classId;
*/
package com.vaadin.shared.ui.form;
-import com.vaadin.client.ui.form.VForm;
import com.vaadin.shared.AbstractFieldState;
import com.vaadin.shared.Connector;
public class FormState extends AbstractFieldState {
{
- primaryStyleName = VForm.CLASSNAME;
+ primaryStyleName = "v-form";
}
public Connector layout;
public Connector footer;
*/
package com.vaadin.shared.ui.gridlayout;
-import com.vaadin.client.ui.gridlayout.VGridLayout;
import com.vaadin.shared.ui.AbstractLayoutState;
public class GridLayoutState extends AbstractLayoutState {
{
- primaryStyleName = VGridLayout.CLASSNAME;
+ primaryStyleName = "v-gridlayout";
}
public boolean spacing = false;
public int rows = 0;
package com.vaadin.shared.ui.image;
-import com.vaadin.client.ui.image.VImage;
import com.vaadin.shared.ui.AbstractEmbeddedState;
public class ImageState extends AbstractEmbeddedState {
{
- primaryStyleName = VImage.CLASSNAME;
+ primaryStyleName = "v-image";
}
}
*/
package com.vaadin.shared.ui.label;
-import com.vaadin.client.ui.label.VLabel;
import com.vaadin.shared.ComponentState;
public class LabelState extends ComponentState {
{
- primaryStyleName = VLabel.CLASSNAME;
+ primaryStyleName = "v-label";
}
public ContentMode contentMode = ContentMode.TEXT;
public String text = "";
package com.vaadin.shared.ui.link;
-import com.vaadin.client.ui.link.VLink;
import com.vaadin.shared.ComponentState;
public class LinkState extends ComponentState {
{
- primaryStyleName = VLink.CLASSNAME;
+ primaryStyleName = "v-link";
}
}
package com.vaadin.shared.ui.menubar;
-import com.vaadin.client.ui.menubar.VMenuBar;
import com.vaadin.shared.ComponentState;
public class MenuBarState extends ComponentState {
{
- primaryStyleName = VMenuBar.CLASSNAME;
+ primaryStyleName = "v-menubar";
}
}
package com.vaadin.shared.ui.optiongroup;
-import com.vaadin.client.ui.optiongroup.VOptionGroup;
import com.vaadin.shared.AbstractFieldState;
public class OptionGroupState extends AbstractFieldState {
{
- primaryStyleName = VOptionGroup.CLASSNAME;
+ primaryStyleName = "v-select-optiongroup";
}
}
package com.vaadin.shared.ui.orderedlayout;
-import com.vaadin.client.ui.orderedlayout.VHorizontalLayout;
public class HorizontalLayoutState extends AbstractOrderedLayoutState {
{
- primaryStyleName = VHorizontalLayout.CLASSNAME;
+ primaryStyleName = "v-horizontallayout";
}
}
package com.vaadin.shared.ui.orderedlayout;
-import com.vaadin.client.ui.orderedlayout.VVerticalLayout;
-
public class VerticalLayoutState extends AbstractOrderedLayoutState {
{
- primaryStyleName = VVerticalLayout.CLASSNAME;
+ primaryStyleName = "v-verticallayout";
}
}
*/
package com.vaadin.shared.ui.panel;
-import com.vaadin.client.ui.panel.VPanel;
import com.vaadin.shared.ComponentState;
public class PanelState extends ComponentState {
{
- primaryStyleName = VPanel.CLASSNAME;
+ primaryStyleName = "v-panel";
}
public int tabIndex;
public int scrollLeft, scrollTop;
package com.vaadin.shared.ui.slider;
-import com.vaadin.client.ui.slider.VSlider;
import com.vaadin.shared.AbstractFieldState;
public class SliderState extends AbstractFieldState {
{
- primaryStyleName = VSlider.CLASSNAME;
+ primaryStyleName = "v-slider";
}
public double value;
package com.vaadin.shared.ui.splitpanel;
-import com.vaadin.client.ui.splitpanel.VSplitPanelHorizontal;
public class HorizontalSplitPanelState extends AbstractSplitPanelState {
{
- primaryStyleName = VSplitPanelHorizontal.CLASSNAME;
+ primaryStyleName = "v-splitpanel-horizontal";
}
}
package com.vaadin.shared.ui.splitpanel;
-import com.vaadin.client.ui.splitpanel.VSplitPanelVertical;
-
public class VerticalSplitPanelState extends AbstractSplitPanelState {
{
- primaryStyleName = VSplitPanelVertical.CLASSNAME;
+ primaryStyleName = "v-splitpanel-vertical";
}
}
package com.vaadin.shared.ui.table;
-import com.vaadin.client.ui.table.VScrollTable;
import com.vaadin.shared.AbstractFieldState;
public class TableState extends AbstractFieldState {
{
- primaryStyleName = VScrollTable.STYLENAME;
+ primaryStyleName = "v-table";
}
}
package com.vaadin.shared.ui.tabsheet;
-import com.vaadin.client.ui.tabsheet.VTabsheet;
import com.vaadin.shared.ComponentState;
public class TabsheetState extends ComponentState {
{
- primaryStyleName = VTabsheet.CLASSNAME;
+ primaryStyleName = "v-tabsheet";
}
}
*/
package com.vaadin.shared.ui.textarea;
-import com.vaadin.client.ui.textarea.VTextArea;
import com.vaadin.shared.annotations.DelegateToWidget;
import com.vaadin.shared.ui.textfield.AbstractTextFieldState;
public class TextAreaState extends AbstractTextFieldState {
{
- primaryStyleName = VTextArea.CLASSNAME;
+ primaryStyleName = "v-textarea";
}
/**
*/
package com.vaadin.shared.ui.textfield;
-import com.vaadin.client.ui.textfield.VTextField;
import com.vaadin.shared.AbstractFieldState;
public class AbstractTextFieldState extends AbstractFieldState {
{
- primaryStyleName = VTextField.CLASSNAME;
+ primaryStyleName = "v-textfield";
}
/**
package com.vaadin.shared.ui.tree;
-import com.vaadin.client.ui.tree.VTree;
import com.vaadin.shared.AbstractFieldState;
public class TreeState extends AbstractFieldState {
{
- primaryStyleName = VTree.CLASSNAME;
+ primaryStyleName = "v-tree";
}
}
package com.vaadin.shared.ui.treetable;
-import com.vaadin.client.ui.treetable.VTreeTable;
import com.vaadin.shared.ui.table.TableState;
public class TreeTableState extends TableState {
{
- primaryStyleName = VTreeTable.STYLENAME;
+ primaryStyleName = "v-table";
}
}
package com.vaadin.shared.ui.twincolselect;
-import com.vaadin.client.ui.twincolselect.VTwinColSelect;
import com.vaadin.shared.AbstractFieldState;
public class TwinColSelectState extends AbstractFieldState {
{
- primaryStyleName = VTwinColSelect.CLASSNAME;
+ primaryStyleName = "v-select-twincol";
}
}
*/
package com.vaadin.shared.ui.video;
-import com.vaadin.client.ui.video.VVideo;
import com.vaadin.shared.ui.AbstractMediaState;
public class VideoState extends AbstractMediaState {
{
- primaryStyleName = VVideo.CLASSNAME;
+ primaryStyleName = "v-video";
}
}