Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies; handle icon size
- Loading branch information
Showing
12 changed files
with
117 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Mon Sep 08 14:12:16 CEST 2014 | ||
#Mon Feb 16 21:42:59 CET 2015 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.3-bin.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
subprojects/griffon-silkicons-guide/src/asciidoc/usage.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
|
||
[[_usage]] | ||
= Usage | ||
|
||
== Swing | ||
|
||
The `griffon-silk-swing:{project-version}` JAR provides a new Icon class: `{api_link_silkicon_swing}`. | ||
You may use this class with any Swing component that supports an Icon property. | ||
|
||
== JavaFX | ||
|
||
The `griffon-silk-javafx:{project-version}` JAR provides a new Node class: `{api_link_silkicon_javafx}`. | ||
You may use this class with any JavaFX control that accepts a graphic property. You may also use the icon directly as | ||
it is a subclass of `javafx.scene.control.Label`. | ||
|
||
== Action Resources | ||
|
||
Action icons can be set using resources files if the following format is used: | ||
|
||
[source] | ||
---- | ||
iconClassName|description | ||
---- | ||
|
||
Here's an example using the Swing icon | ||
|
||
[source,java,options="nowrap"] | ||
.griffon-app/i18n/messages.properties | ||
---- | ||
org.example.AppController.action.Preferences.icon=griffon.swing.support.silk.SilkIcon|star | ||
---- | ||
|
||
The JavaFX version for the same icon value is | ||
|
||
[source,java,options="nowrap"] | ||
.griffon-app/i18n/messages.properties | ||
---- | ||
org.example.AppController.action.Preferences.icon=griffon.javafx.support.silk.SilkIcon|star | ||
---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters