com.cc.framework.ui.model
Interface FrameContainer

All Superinterfaces:
ButtonContainer
All Known Subinterfaces:
FormDesignModel, FrameDesignModel, ListDesignModel, MessageDesignModel, SchedulerDesignModel, TreelistDesignModel
All Known Implementing Classes:
FormDesignModelImp, FrameDesignModelImp, ListDesignModelImp, MessageDesignModelImp, SchedulerDesignModelImp, TreelistDesignModelImp

public interface FrameContainer
extends ButtonContainer

Interface for all objects that have a frame

Version:
$Revision: 1.10 $
Author:
Harald Schulz

Method Summary
 void addInnerFrame(InnerFrame frame)
          Adds a inner frame to the List
 ImageModel getImage()
          Returns the image for the frames title
 InnerFrame[] getInnerFrames(Principal principal, java.lang.Object layoutHint)
          Retrieves a list of only the inner frames that are matching the given layout hint
 void setImage(ImageModel img)
          Sets an image for the frames title
 
Methods inherited from interface com.cc.framework.ui.model.ButtonContainer
getButtonPermission, setButtonPermission, showButton
 

Method Detail

addInnerFrame

public void addInnerFrame(InnerFrame frame)
Adds a inner frame to the List

Parameters:
frame - the inner frame to add

getInnerFrames

public InnerFrame[] getInnerFrames(Principal principal,
                                   java.lang.Object layoutHint)
Retrieves a list of only the inner frames that are matching the given layout hint

Parameters:
principal - The principal object for permission tests. This parameter can be null
layoutHint - The layout hint that specifies what frames should be selected: AlignmentType.TOP - header frames AlignmentType.BOTTOM - footer frames
Returns:
Frame list

getImage

public ImageModel getImage()
Returns the image for the frames title

Returns:
ImageModel

setImage

public void setImage(ImageModel img)
Sets an image for the frames title

Parameters:
img - ImageModel


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