]> source.dussan.org Git - vaadin-framework.git/commit
Font icon support (#13152)
authorMarc Englund <marc@vaadin.com>
Tue, 11 Feb 2014 08:15:07 +0000 (10:15 +0200)
committerMarc Englund <marc@vaadin.com>
Thu, 20 Feb 2014 12:25:43 +0000 (14:25 +0200)
commitde70ee2f0132661c9bf771cb66a40d1961073037
tree83af3a5f23f428d87461c8c8a3740337637fc911
parent853d42a08bfdbad030eb728b296c930176bbe2bd
Font icon support (#13152)

Renamed Icon to ImageIcon

Change-Id: I608815f17a3651b205fed81b5294385df0d68802

Extracted the abstract client-side Icon class

Change-Id: Ic32e270595a5796d0bbd1dd31f34282b56672aa9

Created the FontIcon class

Change-Id: Iad13871e7bf1807dee2c538c76306d4620191f5e

Renamed AbstractComponentConnector.getIcon to getIconUri

Change-Id: I6953ab79661993b561655d483c1bd013b66407f3

Added the AbstractComponentConnector.getIcon method

Change-Id: I6fb91dc643fb09da3ba53666b1a8a289901702e3

Refactored getIcon

Change-Id: Ibae39e66d0fb8449e20ac5209eb8c18b6ada4387

Made all existing uses of Icon compatible with FontIcons

Change-Id: I8f28ec5254f2e5282a887519d3f44bc1e27aba72

Initial server-side support for font icons - does not include an actual icon set yet (#13152)

Change-Id: Ie6c09b17dd577c726e0efc13567749f6f4d56d8d

Changed server side FontIcon URI generation to match the correct scheme

Change-Id: I3628b930b310b3f285bc58a3f471e31e641d307e

Initial server-side icon font (FontAwesome) with scss - to be considered placeholder for testing (#13152)

Change-Id: I361e62aba0d943a736471824e149d65c7eea9c76

Changed the FontIcon URI scheme

Change-Id: I15c92f6bb3d0aa0a800f3f0bfa80419979453e17

Added FontIcon support to AbstractOrderedLayoutConnector

Change-Id: I3b2b45b22d29622fd888dbe922aa0cc8a718104d

Added FontIcon support to table items

Change-Id: Id22ce94c96a892420aab1e39663688fc9f3bc282

Added FontIcon support to OptionGroup items

Change-Id: Ie08bef688f6802182ef5f8b2bf82cf8b1f9096bb

Switched to openly use FontAwesome (#13152)

Change-Id: I18c3325ce93915b7fd6e338c8c293a89711277bc

VaadinIcons are now FontAwesome (#13152)

Change-Id: I0ab2a80735cbf08b6e33d358e3e8c6a205626fc4

VCaption does not longer set icon to 0x0px if it's a FontIcon (#13152)

Change-Id: Ibcd96e0f79f0adf2e217a8580d17f1cc93705710

Fixed typo in @font-face, removed .otf (#13152)

Change-Id: I698ca32c560e5f198c32a6c44f7884d3030ee610

Make font icons behave more like img (display:inline-block) (#13152)

Change-Id: Ic79186c90f1fc566deae1f4d8d4ba2c21d89a42e
37 files changed:
WebContent/VAADIN/themes/base/base.scss
WebContent/VAADIN/themes/base/common/common.scss
WebContent/VAADIN/themes/base/fonts/fontawesome-webfont.eot [new file with mode: 0644]
WebContent/VAADIN/themes/base/fonts/fontawesome-webfont.svg [new file with mode: 0644]
WebContent/VAADIN/themes/base/fonts/fontawesome-webfont.ttf [new file with mode: 0644]
WebContent/VAADIN/themes/base/fonts/fontawesome-webfont.woff [new file with mode: 0644]
WebContent/VAADIN/themes/base/fonts/fonts.scss [new file with mode: 0644]
WebContent/license.html
WebContent/licenses/OFL.txt [new file with mode: 0644]
client/src/com/vaadin/client/ApplicationConnection.java
client/src/com/vaadin/client/VCaption.java
client/src/com/vaadin/client/ui/AbstractComponentConnector.java
client/src/com/vaadin/client/ui/FontIcon.java [new file with mode: 0644]
client/src/com/vaadin/client/ui/Icon.java
client/src/com/vaadin/client/ui/ImageIcon.java [new file with mode: 0644]
client/src/com/vaadin/client/ui/VFormLayout.java
client/src/com/vaadin/client/ui/VMenuBar.java
client/src/com/vaadin/client/ui/VOptionGroup.java
client/src/com/vaadin/client/ui/VPanel.java
client/src/com/vaadin/client/ui/VScrollTable.java
client/src/com/vaadin/client/ui/VTree.java
client/src/com/vaadin/client/ui/button/ButtonConnector.java
client/src/com/vaadin/client/ui/checkbox/CheckBoxConnector.java
client/src/com/vaadin/client/ui/form/FormConnector.java
client/src/com/vaadin/client/ui/link/LinkConnector.java
client/src/com/vaadin/client/ui/menubar/MenuBarConnector.java
client/src/com/vaadin/client/ui/nativebutton/NativeButtonConnector.java
client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java
client/src/com/vaadin/client/ui/orderedlayout/Slot.java
client/src/com/vaadin/client/ui/panel/PanelConnector.java
client/src/com/vaadin/client/ui/window/WindowConnector.java
server/src/com/vaadin/server/FontAwesome.java [new file with mode: 0644]
server/src/com/vaadin/server/FontIcon.java [new file with mode: 0644]
server/src/com/vaadin/server/ResourceReference.java
shared/src/com/vaadin/shared/ApplicationConstants.java
uitest/src/com/vaadin/tests/fonticon/FontIcons.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/fonticon/FontIconsTest.java [new file with mode: 0644]