|
JAC project AOPSYS CEDRIC & LIP6 labs |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
close()
Close this view. |
DisplayContext |
getContext()
|
String |
getDescription()
Gets the description of this view. |
ViewFactory |
getFactory()
Gets the factory. |
String |
getLabel()
Gets the view's label (identifier). |
MethodItem |
getMessage()
Gets the dynamic message. |
View |
getParentView()
Gets the parent view of this view. |
View |
getRootView()
Gets the ancestor view whose parent is null |
String |
getStyle()
Gets the user-defined style for this view. |
Border |
getViewBorder()
Gets the border for this view. |
boolean |
isClosed()
Tells if this view has been closed by the GUI or the user. |
boolean |
isDescendantOf(View ancestor)
Tells wether this view has a given view in its ancestors |
void |
setContext(DisplayContext context)
Sets the display context for this view. |
void |
setDescription(String description)
Sets a static message to be display by the view when opened. |
void |
setFactory(ViewFactory factory)
Sets the factory for this view (WEB, SWING or other supported factory). |
void |
setFocus(FieldItem field,
Object option)
Focus a field of an object's view. |
void |
setHeight(int height)
Sets the prefered height for this view. |
void |
setLabel(String label)
Sets the label (the identifier) of the view. |
void |
setMessage(MethodItem method)
Sets a dynamic message to be displayed by the view when opened. |
void |
setParentView(View view)
Sets the parent view of this view (a composite view). |
void |
setStyle(String style)
Sets the view style. |
void |
setViewBorder(Border border)
Sets a border for this view. |
void |
setWidth(int width)
Sets the prefered width for this view. |
void |
validate()
Validate this view: its content may be saved when this method is upcalled. |
Methods inherited from interface org.objectweb.jac.aspects.gui.ViewIdentity |
getParameters, getType, setParameters, setType |
Method Detail |
public void setLabel(String label)
label
- a string that identifies the viewpublic String getLabel()
public void setMessage(MethodItem method)
method
- the method that returns a string to be dislayedsetDescription(String)
public MethodItem getMessage()
public void setDescription(String description)
description
- a string to be displayed as issetMessage(MethodItem)
public String getDescription()
public void setContext(DisplayContext context)
The display context contains the factory that is used for this view.
public DisplayContext getContext()
public void setFactory(ViewFactory factory)
public ViewFactory getFactory()
public void setWidth(int width)
public void setHeight(int height)
public void close()
public boolean isClosed()
public void validate()
public void setStyle(String style)
public String getStyle()
public void setViewBorder(Border border)
public Border getViewBorder()
public void setParentView(View view)
CompositeView
public View getParentView()
CompositeView
public View getRootView()
public boolean isDescendantOf(View ancestor)
ancestor
- the ancestorpublic void setFocus(FieldItem field, Object option)
field
- the field to focusoption
- an extra option
|
Contact JAC development team: Renaud Pawlak Lionel Seinturier Laurent Martelli |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |