|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ViewSpecification
Describes a view, and how it is built.
| Method Summary | |
|---|---|
boolean |
canDisplay(Content content,
ViewRequirement requirement)
Determines if the view created to this specification can display the specified type. |
View |
createView(Content content,
ViewAxis axis)
Create a new view to this specification for the specified context, and using the specified axis if specified (which can be null). |
java.lang.String |
getName()
|
boolean |
isAligned()
Return true if the generated views are to have their sizes adjusted so they are consistent with surrounding views. |
boolean |
isOpen()
Indicates whether views to this specification are open - displaying the attributes of the content object - or are closed - display only the title of the content object. |
boolean |
isReplaceable()
Indicates whether this view can be replaced with another view (for the same value or reference). |
boolean |
isResizeable()
Indicates if this view can handled being resized. |
boolean |
isSubView()
|
| Method Detail |
|---|
View createView(Content content,
ViewAxis axis)
java.lang.String getName()
boolean isOpen()
boolean isReplaceable()
boolean isSubView()
boolean canDisplay(Content content,
ViewRequirement requirement)
boolean isAligned()
boolean isResizeable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||