List of usage examples for com.vaadin.server FontAwesome ARROW_CIRCLE_DOWN
FontAwesome ARROW_CIRCLE_DOWN
To view the source code for com.vaadin.server FontAwesome ARROW_CIRCLE_DOWN.
Click Source Link
From source file:com.hybridbpm.ui.component.bpm.designer.ProcessModelLayout.java
License:Apache License
private void prepareButtonsBars() { // element button bar btnEdit.addStyleName(ValoTheme.BUTTON_LINK); btnEdit.addStyleName(ValoTheme.BUTTON_SMALL); btnEdit.addStyleName("edit-button"); btnEdit.setIcon(FontAwesome.PENCIL_SQUARE); btnDelete.addStyleName(ValoTheme.BUTTON_LINK); btnDelete.addStyleName(ValoTheme.BUTTON_SMALL); btnDelete.addStyleName("edit-button"); btnDelete.setIcon(FontAwesome.TIMES); elementButtonBar.addComponent(btnEdit); elementButtonBar.addComponent(btnDelete); elementButtonBar.setId("button-bar"); // width button bar btnRight.setIcon(FontAwesome.ARROW_CIRCLE_RIGHT); btnRight.addStyleName(ValoTheme.BUTTON_LINK); btnLeft.setIcon(FontAwesome.ARROW_CIRCLE_LEFT); btnLeft.addStyleName(ValoTheme.BUTTON_LINK); widthButtonBar.addComponent(btnRight); widthButtonBar.addComponent(btnLeft); widthButtonBar.addStyleName("width-button-bar"); widthButtonBar.setWidthUndefined();/*from w w w . j a v a2 s. c om*/ addComponent(widthButtonBar); // height button bar btnUp.setIcon(FontAwesome.ARROW_CIRCLE_UP); btnUp.addStyleName(ValoTheme.BUTTON_LINK); btnDown.setIcon(FontAwesome.ARROW_CIRCLE_DOWN); btnDown.addStyleName(ValoTheme.BUTTON_LINK); heightButtonBar.addComponent(btnUp); heightButtonBar.addComponent(btnDown); heightButtonBar.addStyleName("height-button-bar"); addComponent(heightButtonBar); }
From source file:com.hybridbpm.ui.component.development.FieldForm.java
License:Apache License
private void prepareComponents() { className.setCaption("Data type"); className.setContainerDataSource(getClassesContainer()); className.setItemCaptionMode(AbstractSelect.ItemCaptionMode.PROPERTY); className.setItemCaptionPropertyId(NAME); className.setWidth(100, Unit.PERCENTAGE); className.addValueChangeListener(new ClassChangeListener()); name.setCaption("Name"); name.setWidth(100, Unit.PERCENTAGE); name.setNullRepresentation(""); name.setRequired(true);//www . jav a 2s . c om name.setImmediate(true); name.addValueChangeListener(new NameChangeListener()); description.setCaption("Description"); description.setWidth(100, Unit.PERCENTAGE); description.setNullRepresentation(""); defaultValue.setCaption("Default Value"); defaultValue.setWidth(100, Unit.PERCENTAGE); defaultValue.setNullRepresentation(""); collection.setCaption("Collection"); collection.setContainerDataSource(getCollectionContainer()); collection.setNewItemsAllowed(false); collection.setNullSelectionAllowed(false); collection.setItemCaptionMode(AbstractSelect.ItemCaptionMode.PROPERTY); collection.setItemCaptionPropertyId(NAME); collection.setWidth(100, Unit.PERCENTAGE); editor.setCaption("Editor"); editor.setContainerDataSource(getEditorContainer()); editor.setNewItemsAllowed(false); editor.setNullSelectionAllowed(false); editor.setItemCaptionMode(AbstractSelect.ItemCaptionMode.PROPERTY); editor.setItemCaptionPropertyId(NAME); editor.setWidth(100, Unit.PERCENTAGE); editor.setVisible(!Objects.equals(classListType, CLASS_LIST_TYPE.COMPLEX_DATA)); btnShowMore.setHeight(100, Unit.PERCENTAGE); btnShowMore.setIcon(FontAwesome.PLUS_SQUARE_O); btnShowMore.setDescription("Show more details"); btnShowMore.addStyleName(ValoTheme.BUTTON_LINK); btnRemove.setHeight(100, Unit.PERCENTAGE); btnRemove.setIcon(FontAwesome.TIMES_CIRCLE); btnRemove.addStyleName(ValoTheme.BUTTON_LINK); btnUp.setHeight(100, Unit.PERCENTAGE); btnUp.setIcon(FontAwesome.ARROW_CIRCLE_UP); btnUp.addStyleName(ValoTheme.BUTTON_LINK); btnDown.setHeight(100, Unit.PERCENTAGE); btnDown.setIcon(FontAwesome.ARROW_CIRCLE_DOWN); btnDown.addStyleName(ValoTheme.BUTTON_LINK); }
From source file:com.hybridbpm.ui.component.development.FileForm.java
License:Apache License
private void prepareComponents() { name.setCaption("Name"); name.setWidth(100, Unit.PERCENTAGE); name.setNullRepresentation(""); name.setRequired(true);/* www . j a v a 2 s. c o m*/ name.setImmediate(true); name.addValueChangeListener(new NameChangeListener()); description.setCaption("Description"); description.setWidth(100, Unit.PERCENTAGE); description.setNullRepresentation(""); multiple.setCaption("Multiple"); multiple.setWidth(100, Unit.PERCENTAGE); btnRemove.setHeight(100, Unit.PERCENTAGE); btnRemove.setIcon(FontAwesome.TIMES_CIRCLE); btnRemove.addStyleName(ValoTheme.BUTTON_LINK); btnUp.setHeight(100, Unit.PERCENTAGE); btnUp.setIcon(FontAwesome.ARROW_CIRCLE_UP); btnUp.addStyleName(ValoTheme.BUTTON_LINK); btnDown.setHeight(100, Unit.PERCENTAGE); btnDown.setIcon(FontAwesome.ARROW_CIRCLE_DOWN); btnDown.addStyleName(ValoTheme.BUTTON_LINK); }