Difference between revisions of "UtilComunicator"

From OpenKM Documentation
Jump to: navigation, search
(Created page with '== Read Methods == formatSize(double size) == Example == <source lang="java"> // Call to refreshing user interface UtilComunicator.formatSize(15); </source> [[Category: OpenK…')
 
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== Read Methods ==
 
== Read Methods ==
formatSize(double size)
+
* 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 ==
 
== Example ==
 
<source lang="java">
 
<source lang="java">
// Call to refreshing user interface
+
// Call to formating some document size number ( gb, mb etc... )
 
UtilComunicator.formatSize(15);
 
UtilComunicator.formatSize(15);
 
</source>
 
</source>
  
[[Category: OpenKM plugin extensions]]
+
[[Category: Extension Guide]]

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);