zkex.inp
Class ContentHandler

java.lang.Object
  extended by zk.Object
      extended by zkex.inp.ContentHandler

public class ContentHandler
extends Object

a content handler of a Menu

Available in ZK PE and EE


Field Summary
 
Fields inherited from class zk.Object
$class, $oid
 
Method Summary
 void closePalette()
          Close the palette of colorbox
 void closePicker()
          Close the colorpicker of this colorbox
 void destroy()
          Destroys the resource of the ContentHandler
 void getPosition()
          Returns the position of the Menu that contains this palette popup
 boolean isOpen()
          Returns whether the content is open
 void openContent()
          Show the Menupopup when click the Menu
 void openPalette()
          Open the palette of colorbox
 void openPicker()
          Open the colorpicker of this colorbox
 void setContent(String content)
          Sets the embedded content (i.e., HTML tags) that is shown as part of the description.
 
Methods inherited from class zk.Object
$init, $instanceof, $super, $super, $supers, $supers, afterInit, isAssignableFrom, isInstance, proxy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isOpen

public boolean isOpen()
Returns whether the content is open

Returns:
boolean whether the content is open

setContent

public void setContent(String content)
Sets the embedded content (i.e., HTML tags) that is shown as part of the description.

It is useful to show the description in more versatile way.

There is a way to create Colorbox automatically by using #color=#RRGGBB, usage example setContent("#color=FFFFFF")

Parameters:
content -

destroy

public void destroy()
Destroys the resource of the ContentHandler


openContent

public void openContent()
Show the Menupopup when click the Menu


openPalette

public void openPalette()
Open the palette of colorbox


closePalette

public void closePalette()
Close the palette of colorbox


openPicker

public void openPicker()
Open the colorpicker of this colorbox


closePicker

public void closePicker()
Close the colorpicker of this colorbox


getPosition

public void getPosition()
Returns the position of the Menu that contains this palette popup



Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo