com.cc.framework.ui.model
Interface ImageModel

All Superinterfaces:
WebResourceAccess
All Known Implementing Classes:
AbstractImageMap.ImageMapping, ImageModelImp

public interface ImageModel
extends WebResourceAccess

Defines the attributes for an image

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

Method Summary
 java.lang.String getAlternate()
          Returns the text to display if the image can't be displayed.
 int getHeight()
          Returns the height of the image
 java.lang.String getSource()
          Returns the URL of the image to be displayed
 java.lang.String getStyle()
          Returns the Style
 java.lang.String getStyleClass()
          Returns the StyleClass
 java.lang.String getStyleId()
          returns the StyleId
 java.lang.String getTooltip()
          Returns a tooltip text for this image
 int getWidth()
          Returns the width of the image
 void setStyle(java.lang.String style)
          Sets the Style
 void setStyleClass(java.lang.String styleClass)
          Sets the StyleClass
 void setStyleId(java.lang.String styleId)
          Sets the StyleId
 
Methods inherited from interface com.cc.framework.ui.WebResourceAccess
getBase, setBase
 

Method Detail

getHeight

public int getHeight()
Returns the height of the image

Returns:
the height of the image

getWidth

public int getWidth()
Returns the width of the image

Returns:
the width of the image

getSource

public java.lang.String getSource()
Returns the URL of the image to be displayed

Returns:
String the URL of the image

getAlternate

public java.lang.String getAlternate()
Returns the text to display if the image can't be displayed.

Returns:
String the alternative text.

getTooltip

public java.lang.String getTooltip()
Returns a tooltip text for this image

Returns:
Tooltip text

setStyle

public void setStyle(java.lang.String style)
Sets the Style

Parameters:
style - Style constant

getStyle

public java.lang.String getStyle()
Returns the Style

Returns:
String

setStyleId

public void setStyleId(java.lang.String styleId)
Sets the StyleId

Parameters:
styleId - HTML-Id of the element

getStyleId

public java.lang.String getStyleId()
returns the StyleId

Returns:
string

setStyleClass

public void setStyleClass(java.lang.String styleClass)
Sets the StyleClass

Parameters:
styleClass - StyleClass

getStyleClass

public java.lang.String getStyleClass()
Returns the StyleClass

Returns:
String


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