com.cc.framework.ui.model.imp
Class InfoDesignModelImp

java.lang.Object
  extended bycom.cc.framework.ui.model.imp.ClientHandlerImp
      extended bycom.cc.framework.ui.model.imp.ControlDesignModelImp
          extended bycom.cc.framework.ui.model.imp.InfoDesignModelImp
All Implemented Interfaces:
AccessControlled, ActionBehavior, AjaxSupport, ClientHandler, ControlDesignModel, DesignModel, InfoDesignModel, java.io.Serializable, WebResourceAccess

public class InfoDesignModelImp
extends ControlDesignModelImp
implements InfoDesignModel

Designmodel for the InfoControl

Since:
1.0
Version:
$Revision: 1.13 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private  java.lang.String base
          Image Base directory
private  java.lang.String content
          The Frames content
private  boolean frame
          Enables or disables the frame
private  java.lang.String resource
          The resource whisch should be displayed in the infocontrol
private static long serialVersionUID
          Serial Version UID
 
Fields inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp
 
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp
 
Constructor Summary
InfoDesignModelImp()
          Constructor
 
Method Summary
 java.lang.String getBase()
          Gets the Base Directory for the Resource
 java.lang.String getContent()
           
 java.lang.String getResource()
          Returns the Resource
 void setBase(java.lang.String base)
          Sets the resoure base directory
 void setContent(java.lang.String content)
           
 void setResource(java.lang.String resource)
          Sets a Resource
 void setShowFrame(boolean show)
          Disables the frames border
 boolean showFrame()
           
 
Methods inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp
addDesignRule, enableAjax, getAction, getBorder, getDesignRules, getHeight, getHelp, getId, getLocaleName, getName, getPermission, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getWidth, hasShadow, isAjaxEnabled, isDisabled, isDynamicDesignModel, isFormElement, setAction, setBorder, setDisabled, setDynamicDesignModel, setFormElement, setHeight, setHelp, setId, setLocaleName, setName, setPermission, setProperty, setRunAt, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabIndex, setTooltip, setTransaction, setWidth, show
 
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.ControlDesignModel
addDesignRule, getAction, getBorder, getDesignRules, getHeight, getHelp, getId, getLocaleName, getName, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getWidth, hasShadow, isDisabled, isDynamicDesignModel, isFormElement, setAction, setBorder, setDisabled, setDynamicDesignModel, setFormElement, setHeight, setHelp, setId, setLocaleName, setName, setPermission, setProperty, setRunAt, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabIndex, setTooltip, setTransaction, setWidth
 
Methods inherited from interface com.cc.framework.ui.model.ClientHandler
getHandler, getHandlers, setHandler
 
Methods inherited from interface com.cc.framework.ui.model.AccessControlled
getPermission, show
 
Methods inherited from interface com.cc.framework.ui.model.ActionBehavior
isAjaxEnabled
 
Methods inherited from interface com.cc.framework.ui.model.AjaxSupport
enableAjax, isAjaxEnabled
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

base

private java.lang.String base
Image Base directory


resource

private java.lang.String resource
The resource whisch should be displayed in the infocontrol


frame

private boolean frame
Enables or disables the frame


content

private java.lang.String content
The Frames content

Constructor Detail

InfoDesignModelImp

public InfoDesignModelImp()
Constructor

Method Detail

getBase

public java.lang.String getBase()
Description copied from interface: WebResourceAccess
Gets the Base Directory for the Resource

Specified by:
getBase in interface WebResourceAccess
Returns:
base directory or null
See Also:
WebResourceAccess.getBase()

setBase

public void setBase(java.lang.String base)
Description copied from interface: WebResourceAccess
Sets the resoure base directory

Specified by:
setBase in interface WebResourceAccess
Parameters:
base - Base Directory
See Also:
WebResourceAccess.setBase(java.lang.String)

getResource

public java.lang.String getResource()
Description copied from interface: InfoDesignModel
Returns the Resource

Specified by:
getResource in interface InfoDesignModel
Returns:
String
See Also:
InfoDesignModel.getResource()

setResource

public void setResource(java.lang.String resource)
Description copied from interface: InfoDesignModel
Sets a Resource

Specified by:
setResource in interface InfoDesignModel
Parameters:
resource - Resource
See Also:
InfoDesignModel.setResource(java.lang.String)

getContent

public java.lang.String getContent()
Specified by:
getContent in interface InfoDesignModel
Returns:
The Content of the inner frame (raw HTML code)
See Also:
InfoDesignModel.getContent()

setContent

public void setContent(java.lang.String content)
Specified by:
setContent in interface InfoDesignModel
Parameters:
content - The raw HTML content of the inner frame
See Also:
InfoDesignModel.setContent(java.lang.String)

setShowFrame

public void setShowFrame(boolean show)
Description copied from interface: InfoDesignModel
Disables the frames border

Specified by:
setShowFrame in interface InfoDesignModel
Parameters:
show - true if the frame should be shown
See Also:
InfoDesignModel.setShowFrame(boolean)

showFrame

public boolean showFrame()
Specified by:
showFrame in interface InfoDesignModel
Returns:
true if the frame should be shown
See Also:
InfoDesignModel.showFrame()


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