|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.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 model| Method Detail |
public java.lang.Object getRule()
public int getHeight()
ImageModel
getHeight in interface ImageModelImageModel.getHeight()public int getWidth()
ImageModel
getWidth in interface ImageModelImageModel.getWidth()public java.lang.String getSource()
ImageModel
getSource in interface ImageModelImageModel.getSource()public java.lang.String getAlternate()
ImageModel
getAlternate in interface ImageModelImageModel.getAlternate()public java.lang.String getTooltip()
ImageModel
getTooltip in interface ImageModelImageModel.getTooltip()public java.lang.String getBase()
WebResourceAccess
getBase in interface WebResourceAccessnullWebResourceAccess.getBase()public void setBase(java.lang.String base)
WebResourceAccess
setBase in interface WebResourceAccessbase - Base DirectoryWebResourceAccess.setBase(java.lang.String)public java.lang.String getStyle()
ImageModel
getStyle in interface ImageModelImageModel.getStyle()public java.lang.String getStyleClass()
ImageModel
getStyleClass in interface ImageModelImageModel.getStyleClass()public java.lang.String getStyleId()
ImageModel
getStyleId in interface ImageModelImageModel.getStyleId()public void setStyle(java.lang.String style)
ImageModel
setStyle in interface ImageModelstyle - Style constantImageModel.setStyle(java.lang.String)public void setStyleClass(java.lang.String styleClass)
ImageModel
setStyleClass in interface ImageModelstyleClass - StyleClassImageModel.setStyleClass(java.lang.String)public void setStyleId(java.lang.String styleId)
ImageModel
setStyleId in interface ImageModelstyleId - 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 | ||||||||||