|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.cc.framework.ui.model.imp.ClientHandlerImp
com.cc.framework.ui.model.imp.TabDesignModelImp
Designmodel for the Tabs of a TabControl
| Field Summary | |
private java.lang.String |
action
The action which should be processed if the Tab is activated. |
private Color |
bgcolor
The background color of the Tab |
private java.lang.String |
body
The HTML body which should be displayed on this Tab page. |
private java.lang.String |
content
Name of a JSP page with the content of the Tab page to display. |
private boolean |
enable
True if the Tab can be selected; false otherwise |
private java.lang.String |
imageRef
Reference to an image in the ImageMap of the TabSet Control which should be displayed on the Tab in front of the label. |
private Permission |
permission
The Permission for the Control |
private static long |
serialVersionUID
Serial Version UID |
private java.lang.String |
tabid
The unique id of the Tab page |
private java.lang.String |
target
Target Attribut |
private java.lang.String |
title
The title of the Tab page |
private java.lang.String |
tooltip
A tooltip which is displayed if the user moves the mouse over the label/title. |
| Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
|
| Constructor Summary | |
TabDesignModelImp()
Constructor for TabDesignModelImp |
|
| Method Summary | |
java.lang.String |
getAction()
Returns the action, which should be processed if the TabPage is selected. |
Color |
getBgColor()
Returns the Background Color |
java.lang.String |
getBody()
Returns the HTML-String which should be displayed as Content of the TabPage |
java.lang.String |
getContent()
Returns the Content of the TabPage |
java.lang.String |
getImageRef()
Returns the assignment Rule |
Permission |
getPermission()
Returns the authorizations required to access an object If the method returns null no access rights is required. |
java.lang.String |
getTabId()
Returns the unique key for the TabPage |
java.lang.String |
getTarget()
Returns where the document referenced will appear. |
java.lang.String |
getTitle()
Returns the Title |
java.lang.String |
getTooltip()
Returns the tooltip |
boolean |
isEnabled()
Returns if the tab can be selected |
void |
setAction(java.lang.String string)
Sets the Action, which should be processed if a TabPage is selected. |
void |
setBgColor(Color bgcolor)
sets the Background Color |
void |
setBody(java.lang.String body)
Sets the HTML-String which should be displayed as Content of the TabPage. |
void |
setContent(java.lang.String content)
Sets the Content (Name of the JSP) of the TagPage |
void |
setEnable(boolean enable)
Sets the enable Flag |
void |
setImageRef(java.lang.String imageRef)
Assigns the TapPage an Image from an ImageMap |
void |
setPermission(Permission permission)
Sets a list with permission for the object. |
void |
setTabId(java.lang.String tabid)
Sets the Id for the TabPage |
void |
setTarget(java.lang.String target)
Sets the target where the document referenced will appear. |
void |
setTitle(java.lang.String title)
Sets the Title |
void |
setTooltip(java.lang.String tooltip)
Sets the tooltip text |
boolean |
show(Principal principal)
Checks if the Object has a required permission. |
| Methods inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
evaluate, getHandler, getHandlers, setHandler |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.cc.framework.ui.model.ClientHandler |
getHandler, getHandlers, setHandler |
| Field Detail |
private static final long serialVersionUID
private java.lang.String tabid
private java.lang.String action
private java.lang.String title
private java.lang.String tooltip
private boolean enable
private java.lang.String content
private java.lang.String body
private Color bgcolor
private java.lang.String imageRef
private Permission permission
private java.lang.String target
| Constructor Detail |
public TabDesignModelImp()
| Method Detail |
public java.lang.String getTitle()
TabDesignModel
getTitle in interface TabDesignModelTabDesignModel.getTitle()public void setTitle(java.lang.String title)
TabDesignModel
setTitle in interface TabDesignModeltitle - The TitleTabDesignModel.setTitle(String title)public void setTooltip(java.lang.String tooltip)
TabDesignModel
setTooltip in interface TabDesignModeltooltip - The TooltipTabDesignModel.setTooltip(String)public java.lang.String getTooltip()
TabDesignModel
getTooltip in interface TabDesignModelTabDesignModel.getTooltip()public java.lang.String getTabId()
TabDesignModel
getTabId in interface TabDesignModelTabDesignModel.getTabId()public void setTabId(java.lang.String tabid)
TabDesignModel
setTabId in interface TabDesignModeltabid - Unique IdTabDesignModel.setTabId(String)public boolean isEnabled()
TabDesignModel
isEnabled in interface TabDesignModeltrue if the TabPage can be selected;
false otherwiseTabDesignModel.isEnabled()public void setEnable(boolean enable)
TabDesignModel
setEnable in interface TabDesignModelenable - false if the TabPage can not be selectedTabDesignModel.setEnable(boolean)public void setBody(java.lang.String body)
TabDesignModel
setBody in interface TabDesignModelbody - HTML-CodeTabDesignModel.setBody(String)public java.lang.String getBody()
TabDesignModel
getBody in interface TabDesignModelTabDesignModel.getBody()public java.lang.String getContent()
TabDesignModel
getContent in interface TabDesignModelTabDesignModel.getContent()public void setContent(java.lang.String content)
TabDesignModel
setContent in interface TabDesignModelcontent - Name of the JSP PageTabDesignModel.setContent(java.lang.String)public Color getBgColor()
TabDesignModel
getBgColor in interface TabDesignModelTabDesignModel.getBgColor()public void setBgColor(Color bgcolor)
TabDesignModel
setBgColor in interface TabDesignModelbgcolor - ColorTabDesignModel.setBgColor(com.cc.framework.ui.Color)public java.lang.String getImageRef()
TabDesignModel
getImageRef in interface TabDesignModelTabDesignModel.getImageRef()public void setImageRef(java.lang.String imageRef)
TabDesignModel
setImageRef in interface TabDesignModelimageRef - Rule of the ImageMap to matchTabDesignModel.setImageRef(java.lang.String)public java.lang.String getAction()
TabDesignModel
getAction in interface TabDesignModelTabDesignModel.getAction()public void setAction(java.lang.String string)
TabDesignModel
setAction in interface TabDesignModelstring - ActionTabDesignModel.setAction(java.lang.String)public Permission getPermission()
AccessControllednull no access rights is required.
getPermission in interface AccessControlledAccessControlled.getPermission()public void setPermission(Permission permission)
TabDesignModel
setPermission in interface TabDesignModelpermission - PermissionTabDesignModel.setPermission(com.cc.framework.security.Permission)public boolean show(Principal principal)
AccessControlled
show in interface AccessControlledprincipal - the users principal object
true if the permission existsAccessControlled.show(Principal)public java.lang.String getTarget()
TabDesignModel
getTarget in interface TabDesignModelTabDesignModel.getTarget()public void setTarget(java.lang.String target)
TabDesignModel
setTarget in interface TabDesignModeltarget - The target where the document referenced will appearTabDesignModel.setTarget(java.lang.String)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||