|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.painter.def.DefPainterUtility
Class DefPainterUtility
Constructor Summary | |
private |
DefPainterUtility()
Constructor |
Method Summary | |
static org.apache.ecs.ConcreteElement |
createCheckBox(PainterContext ctx,
java.lang.String key,
int checkState,
SelectMode selectMode,
ClientHandler handler,
int size,
boolean displayOnly,
ActionBehavior behavior)
renders a CheckBox |
static org.apache.ecs.ConcreteElement |
createCheckButton(PainterContext ctx,
java.lang.String key,
int checkState,
SelectMode selectMode,
ClientHandler handler,
int size,
ActionBehavior behavior)
renders a CheckBox |
static org.apache.ecs.ConcreteElement |
createCheckImage(PainterContext ctx,
int checkState,
int size)
renders a CheckBox |
static org.apache.ecs.ConcreteElement |
createOutline(PainterContext ctx,
TreeStyle style,
ClientHandler handler,
TreeLineIterator iter,
java.lang.String label,
java.lang.String tooltip,
ImageModel icon,
int size,
ActionBehavior behavior)
Erzeugt eine Baumstruktur |
static ImageModel |
getItemImage(PainterContext painterContext,
LineIterator iter,
java.lang.String imageProperty,
ImageMap map)
Method getItemImage |
static ImageModel |
getItemImage(PainterContext painterContext,
TreeLineIterator iter,
java.lang.String imageProperty,
ImageMap map,
int size)
Method getItemImage |
private static java.lang.String |
getStructureResourceId(int image)
Creates the Resource Id for an Tree structure element |
static java.lang.String |
getTarget(TreeStyle treeStyle,
TreeLineIterator iter)
Returns the Target Attribute which should be included in a HyperLink |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
private DefPainterUtility()
Method Detail |
public static java.lang.String getTarget(TreeStyle treeStyle, TreeLineIterator iter)
treeStyle
- TreeStyleiter
- TreeLineIterator
private static java.lang.String getStructureResourceId(int image)
image
- Element code
public static ImageModel getItemImage(PainterContext painterContext, LineIterator iter, java.lang.String imageProperty, ImageMap map)
painterContext
- the painter contextiter
- the Item iterator with the item to paintimageProperty
- Image Propertymap
- ImageMap
public static ImageModel getItemImage(PainterContext painterContext, TreeLineIterator iter, java.lang.String imageProperty, ImageMap map, int size)
painterContext
- the painter contextiter
- the Item iterator with the item to paintimageProperty
- Image Propertymap
- ImageMapsize
- Image size
public static org.apache.ecs.ConcreteElement createOutline(PainterContext ctx, TreeStyle style, ClientHandler handler, TreeLineIterator iter, java.lang.String label, java.lang.String tooltip, ImageModel icon, int size, ActionBehavior behavior)
ctx
- Painter Contextstyle
- TreeStylehandler
- Java Script Handlersiter
- TreeLineIteratorlabel
- Label (HTML encoded)tooltip
- Tooltip (HTML encoded)icon
- ImageModelsize
- The sizebehavior
- How actions should behave on the client
public static org.apache.ecs.ConcreteElement createCheckBox(PainterContext ctx, java.lang.String key, int checkState, SelectMode selectMode, ClientHandler handler, int size, boolean displayOnly, ActionBehavior behavior)
ctx
- Painter contextkey
- StringcheckState
- CheckState true if checkedselectMode
- SelectModehandler
- Java Script Handlerssize
- Image SizedisplayOnly
- Indicates that this checkbox should be only for displaybehavior
- How actions should behave on the client
public static org.apache.ecs.ConcreteElement createCheckButton(PainterContext ctx, java.lang.String key, int checkState, SelectMode selectMode, ClientHandler handler, int size, ActionBehavior behavior)
ctx
- Painter contextkey
- StringcheckState
- CheckState true if checkedselectMode
- SelectModehandler
- Java Script Handlerssize
- Image Sizebehavior
- How actions should behave on the client
public static org.apache.ecs.ConcreteElement createCheckImage(PainterContext ctx, int checkState, int size)
ctx
- Painter contextcheckState
- CheckState true if checkedsize
- Image Size
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |