|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.AbstractImageMap.ImageMapping
A ImageMapping maps a regular expression to an image
Field Summary | |
private ImageModel |
image
The Image Rule |
private java.lang.Object |
rule
The Mapping rule (regular expression) |
private static long |
serialVersionUID
Serial Version UID |
Constructor Summary | |
AbstractImageMap.ImageMapping(java.lang.String rule,
ImageModel image)
Constructor |
Method Summary | |
java.lang.String |
getAlternate()
Returns the text to display if the image can't be displayed. |
java.lang.String |
getBase()
Gets the Base Directory for the Resource |
int |
getHeight()
Returns the height of the image |
java.lang.Object |
getRule()
|
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 |
setBase(java.lang.String base)
Sets the resoure base directory |
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 class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
private java.lang.Object rule
private ImageModel image
Constructor Detail |
public AbstractImageMap.ImageMapping(java.lang.String rule, ImageModel image)
rule
- The mapping rule (regular expression)image
- The image modelMethod Detail |
public java.lang.Object getRule()
public int getHeight()
ImageModel
getHeight
in interface ImageModel
ImageModel.getHeight()
public int getWidth()
ImageModel
getWidth
in interface ImageModel
ImageModel.getWidth()
public java.lang.String getSource()
ImageModel
getSource
in interface ImageModel
ImageModel.getSource()
public java.lang.String getAlternate()
ImageModel
getAlternate
in interface ImageModel
ImageModel.getAlternate()
public java.lang.String getTooltip()
ImageModel
getTooltip
in interface ImageModel
ImageModel.getTooltip()
public java.lang.String getBase()
WebResourceAccess
getBase
in interface WebResourceAccess
null
WebResourceAccess.getBase()
public void setBase(java.lang.String base)
WebResourceAccess
setBase
in interface WebResourceAccess
base
- Base DirectoryWebResourceAccess.setBase(java.lang.String)
public java.lang.String getStyle()
ImageModel
getStyle
in interface ImageModel
ImageModel.getStyle()
public java.lang.String getStyleClass()
ImageModel
getStyleClass
in interface ImageModel
ImageModel.getStyleClass()
public java.lang.String getStyleId()
ImageModel
getStyleId
in interface ImageModel
ImageModel.getStyleId()
public void setStyle(java.lang.String style)
ImageModel
setStyle
in interface ImageModel
style
- Style constantImageModel.setStyle(java.lang.String)
public void setStyleClass(java.lang.String styleClass)
ImageModel
setStyleClass
in interface ImageModel
styleClass
- StyleClassImageModel.setStyleClass(java.lang.String)
public void setStyleId(java.lang.String styleId)
ImageModel
setStyleId
in interface ImageModel
styleId
- HTML-Id of the elementImageModel.setStyleId(java.lang.String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |