|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.model.InnerFrame
Group of form elements
Field Summary | |
private boolean |
border
Enables or disables the frames border |
private java.lang.String |
content
The Frames content |
private java.lang.String |
height
The height of the form element |
private java.lang.Object |
layoutHint
Optional layout hint for this frame |
private Permission |
permission
permissions for the element |
private static long |
serialVersionUID
Serial Version UID |
private java.lang.String |
style
HTML-Style |
private java.lang.String |
styleClass
Style Class -> HTML class Attribute |
private java.lang.String |
styleId
Style ID |
private java.lang.String |
summary
Text that is used for rendering to non-visual media such as speech or Braille |
private java.lang.String |
width
The width of the form element |
Constructor Summary | |
InnerFrame()
|
Method Summary | |
java.lang.String |
getContent()
|
java.lang.String |
getHeight()
Returns the height of the frame element (pixel or %) |
java.lang.Object |
getLayoutHint()
Retrieves the layout hint that is associated with this frame |
Permission |
getPermission()
Returns the authorizations required to access an object If the method returns null no access rights is required. |
java.lang.String |
getStyle()
Returns the Style |
java.lang.String |
getStyleClass()
Returns the StyleClass |
java.lang.String |
getStyleId()
returns the StyleId |
java.lang.String |
getSummary()
Retrieves the property that can be used for rendering to non-visual media such as speech or Braille |
java.lang.String |
getWidth()
Returns the width of the frame element (pixel or %) |
void |
setBorder(boolean border)
Disables the frames border |
void |
setContent(java.lang.String content)
|
void |
setHeight(java.lang.String height)
Sets the height of the frame element (pixel or %) |
void |
setLayoutHint(java.lang.Object hint)
Assigns a layout hint to this inner frame |
void |
setPermission(Permission permission)
Sets the elements permission |
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 |
void |
setSummary(java.lang.String summary)
Sets the property that can be used for rendering to non-visual media such as speech or Braille |
void |
setWidth(java.lang.String width)
Sets the width of the frame element (pixel or %) |
boolean |
show(Principal principal)
Checks if the Object has a required permission. |
boolean |
showBorder()
|
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.String height
private java.lang.String width
private java.lang.String styleId
private java.lang.String styleClass
private java.lang.String style
private boolean border
private Permission permission
private java.lang.String content
private java.lang.String summary
private java.lang.Object layoutHint
Constructor Detail |
public InnerFrame()
Method Detail |
public Permission getPermission()
AccessControlled
null
no access rights is required.
getPermission
in interface AccessControlled
AccessControlled.getPermission()
public void setPermission(Permission permission)
permission
- required permissionpublic boolean show(Principal principal)
AccessControlled
show
in interface AccessControlled
principal
- the users principal object
true
if the permission existsAccessControlled.show(Principal)
public java.lang.String getHeight()
public java.lang.String getWidth()
public void setHeight(java.lang.String height)
height
- The Heightpublic void setWidth(java.lang.String width)
width
- The Widthpublic java.lang.String getStyle()
public java.lang.String getStyleId()
public java.lang.String getStyleClass()
public void setStyle(java.lang.String style)
style
- style constantpublic void setStyleId(java.lang.String styleId)
styleId
- HTML-Id of the elementpublic void setStyleClass(java.lang.String styleClass)
styleClass
- StyleClasspublic void setBorder(boolean border)
border
- true
if the border should be shownpublic boolean showBorder()
true
if the border should be shownpublic java.lang.String getContent()
public void setContent(java.lang.String content)
content
- The raw HTML content of the inner framepublic void setSummary(java.lang.String summary)
summary
- specifies a description and/or structure of the object.public java.lang.String getSummary()
null
public java.lang.Object getLayoutHint()
null
public void setLayoutHint(java.lang.Object hint)
hint
- layout hint or null
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |