com.cc.framework.ui.model
Interface PanelItemDesignModel

All Superinterfaces:
AccessControlled, ClientHandler, DesignModel
All Known Implementing Classes:
PanelItemDesignModelImp

public interface PanelItemDesignModel
extends DesignModel, AccessControlled, ClientHandler

The design model for a PanelItem

Since:
1.1
Version:
$Revision: 1.11 $
Author:
Harald Schulz

Method Summary
 java.lang.Boolean filter()
          Returns if the filter is activated (default=true).
 java.lang.String getAction()
          Returns the Action which should be processed by the Item
 java.lang.String getDetail()
          Returns the detail Text
 java.lang.String getLocaleName()
          Gets the Local Setting for this element
 java.lang.String getTarget()
          Returns the target
 java.lang.String getTitle()
          Returns the title of a panel item
 java.lang.String getTooltip()
          Returns the Tooltip
 void setAction(java.lang.String action)
          Sets the Action
 void setDetail(java.lang.String detail)
          Sets the detail Text
 void setFilter(boolean filter)
          Activates the HTML encoding (filter).
 void setLocaleName(java.lang.String locale)
          Sets the Locale configuration for this element
 void setPermission(Permission permission)
          Sets a list with permissions to access this object.
 void setTarget(java.lang.String target)
          Sets the target where the document referenced will appear (like _blank, _parent, ...).
 void setTitle(java.lang.String title)
          Returns the Title
 void setTooltip(java.lang.String tooltip)
          Sets the Tooltip
 
Methods inherited from interface com.cc.framework.ui.model.AccessControlled
getPermission, show
 
Methods inherited from interface com.cc.framework.ui.model.ClientHandler
getHandler, getHandlers, setHandler
 

Method Detail

getTitle

public java.lang.String getTitle()
Returns the title of a panel item

Returns:
String

getDetail

public java.lang.String getDetail()
Returns the detail Text

Returns:
String

setDetail

public void setDetail(java.lang.String detail)
Sets the detail Text

Parameters:
detail - Detail

setTitle

public void setTitle(java.lang.String title)
Returns the Title

Parameters:
title - Title

setTooltip

public void setTooltip(java.lang.String tooltip)
Sets the Tooltip

Parameters:
tooltip - Tooltip

getTooltip

public java.lang.String getTooltip()
Returns the Tooltip

Returns:
String

getAction

public java.lang.String getAction()
Returns the Action which should be processed by the Item

Returns:
String

setAction

public void setAction(java.lang.String action)
Sets the Action

Parameters:
action - Action

setPermission

public void setPermission(Permission permission)
Sets a list with permissions to access this object. The permission are separated by ';'.

Parameters:
permission - Permission

setTarget

public void setTarget(java.lang.String target)
Sets the target where the document referenced will appear (like _blank, _parent, ...).

Parameters:
target - The target

getTarget

public java.lang.String getTarget()
Returns the target

Returns:
The target

filter

public java.lang.Boolean filter()
Returns if the filter is activated (default=true). This means that all Strings which should be displayed in the HTML page are HTML encoded

Returns:
true if string will be HTML encoded; false otherwise. If a null is returned than the filter of the enclosing CrumbControl should be used

setFilter

public void setFilter(boolean filter)
Activates the HTML encoding (filter). Default is true. This means that all Strings which should be displayed in the HTML page will be HTML encoded.

Parameters:
filter - true if strings should be HTML encoded; false otherwise

setLocaleName

public void setLocaleName(java.lang.String locale)
Sets the Locale configuration for this element

Parameters:
locale - Locale Identifier or true|false

getLocaleName

public java.lang.String getLocaleName()
Gets the Local Setting for this element

Returns:
Locale Setting


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.