Difference between revisions of "UtilComunicator"
From OpenKM Documentation
(5 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
* String getTextAsBoldHTML(String text, boolean mark) | * String getTextAsBoldHTML(String text, boolean mark) | ||
* String getUserAgent() | * String getUserAgent() | ||
+ | * String getParent(String path) | ||
+ | * String getName(String path) | ||
+ | * String mimeImageHTML(String mime) | ||
+ | * HTML hSpace(String width) | ||
+ | * HTML vSpace(String height) | ||
+ | * boolean isSearchableKey(KeyUpEvent event) | ||
+ | * String menuHTMLWithoutIcon(String text) | ||
== Example == | == Example == |
Latest revision as of 10:47, 2 April 2014
Read Methods
- String formatSize(double size)
- String imageItemHTML(String imageUrl, String title, String align)
- String createHeaderHTML(String imageURL, String caption)
- String menuHTML(String imageUrl, String text)
- String imageItemHTML(String imageUrl)
- String getTextAsBoldHTML(String text, boolean mark)
- String getUserAgent()
- String getParent(String path)
- String getName(String path)
- String mimeImageHTML(String mime)
- HTML hSpace(String width)
- HTML vSpace(String height)
- boolean isSearchableKey(KeyUpEvent event)
- String menuHTMLWithoutIcon(String text)
Example
// Call to formating some document size number ( gb, mb etc... )
UtilComunicator.formatSize(15);