|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.model.FrameTitle
Field Summary | |
private java.util.Collection |
buttons
Collection of ConcreteElements for the Frames button bar |
private java.lang.String |
caption
The localized caption Text |
private java.lang.String |
detail
The localized detail Text |
private boolean |
filter
Indicates if String resources should be converted to HTML |
private java.lang.String |
helpId
The Help Id for this Frame |
private ImageModel |
image
The optional title image |
private java.lang.String |
tooltip
Title Tooltip |
Constructor Summary | |
FrameTitle()
Constructor |
|
FrameTitle(ImageModel image,
java.lang.String caption,
java.lang.String detail,
java.lang.String helpId,
java.util.Collection buttons)
Constructor |
Method Summary | |
boolean |
filter()
Indicates if String resources should be converted to HTML |
java.util.Iterator |
getButtons()
|
java.lang.String |
getCaption()
|
java.lang.String |
getDetail()
|
java.lang.String |
getHelpId()
|
ImageModel |
getImage()
Returns the image for the frames title |
java.lang.String |
getTooltip()
|
boolean |
hasButtons()
Checks if this Title has any Button Elements assigned |
boolean |
hasDetail()
Checks if the title has a detail text |
void |
setButtons(java.util.Collection collection)
Sets the ConcreteElement collection of button elements for the title |
void |
setCaption(java.lang.String string)
|
void |
setDetail(java.lang.String string)
|
void |
setFilter(boolean b)
|
void |
setHelpId(java.lang.String string)
|
void |
setImage(ImageModel img)
Sets an image for the frames title |
void |
setTooltip(java.lang.String string)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String tooltip
private java.lang.String caption
private java.lang.String detail
private java.lang.String helpId
private boolean filter
private java.util.Collection buttons
private ImageModel image
Constructor Detail |
public FrameTitle()
public FrameTitle(ImageModel image, java.lang.String caption, java.lang.String detail, java.lang.String helpId, java.util.Collection buttons)
image
- The optional frame imagecaption
- The localized caption Textdetail
- The localized detail TexthelpId
- The Help Id for this Framebuttons
- Collection with button elementsMethod Detail |
public boolean hasButtons()
true
if button elements are assignedpublic java.util.Iterator getButtons()
public java.lang.String getCaption()
public java.lang.String getDetail()
public boolean hasDetail()
true
if the title has a detail textpublic boolean filter()
true
if HTML conversion should be madepublic java.lang.String getHelpId()
public java.lang.String getTooltip()
public ImageModel getImage()
public void setButtons(java.util.Collection collection)
collection
- ConcreteElement Collectionpublic void setCaption(java.lang.String string)
string
- Caption Textpublic void setDetail(java.lang.String string)
string
- Detail Textpublic void setFilter(boolean b)
b
- true
to enable HTML Conversion. The default is
true
public void setHelpId(java.lang.String string)
string
- Help Idpublic void setTooltip(java.lang.String string)
string
- Tooltip Textpublic void setImage(ImageModel img)
img
- ImageModel
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |