|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Field Summary | |
static int |
X_AXIS
|
static int |
Y_AXIS
|
| Method Summary | |
void |
addChildView(View v)
|
View |
createChildView(org.w3c.dom.Node child,
org.w3c.dom.Node parent)
|
void |
createChildViews(org.w3c.dom.Node parent)
|
void |
doLayout()
do the layout for this and its children |
int |
getAbsolutePositionX()
|
int |
getAbsolutePositionY()
|
java.util.Vector |
getChildren()
|
CSSRenderer |
getCSSRenderer()
|
org.w3c.dom.Node |
getDOMElement()
|
View |
getFirstChild()
|
int |
getMaximumSpan(int axis)
get maximum span of this view that corresponds to an axis |
int |
getMinimumSpan(int axis)
get minimum span of this view that corresponds to an axis |
View |
getParentView()
|
int |
getPreferredSpan(int axis)
get maximum span of this view that corresponds to an axis |
java.awt.Rectangle |
getRectangle()
|
SizeRequirements |
getSizeRequirements()
|
org.w3c.dom.css.CSSStyleDeclaration |
getStyle()
|
int |
getViewHeight()
|
int |
getViewWidth()
|
boolean |
hasAbsoluteChildren()
This is called by XSmilesVisualElement when a node is removed from the DOM, let's remove all components from view |
boolean |
hasAbsolutePosition()
Returns true if view is absolute positioned. |
void |
paint(java.awt.Graphics g)
paints this view |
void |
removeChild(View child)
|
void |
removeChildren()
|
void |
removeFromTree()
|
void |
repaint(java.awt.Image img)
|
void |
repaintDocument()
|
void |
repaintDocument(View view)
|
void |
repaintView()
|
void |
setAbsolutePosition(int x,
int y)
set the absolute position of this view, only the parent is allowed to call this |
void |
setParentView(View parent)
|
void |
setSizeRequirements()
|
void |
setStyle(org.w3c.dom.css.CSSStyleDeclaration s)
|
void |
viewRemoved()
this method is called when a view is removed from the hierarchy. |
| Field Detail |
public static final int X_AXIS
public static final int Y_AXIS
| Method Detail |
public void paint(java.awt.Graphics g)
public int getMinimumSpan(int axis)
public int getMaximumSpan(int axis)
public int getPreferredSpan(int axis)
public int getViewWidth()
public int getViewHeight()
public org.w3c.dom.css.CSSStyleDeclaration getStyle()
public void setAbsolutePosition(int x,
int y)
public int getAbsolutePositionX()
public int getAbsolutePositionY()
public java.awt.Rectangle getRectangle()
public boolean hasAbsolutePosition()
public View getParentView()
public void setParentView(View parent)
public org.w3c.dom.Node getDOMElement()
public java.util.Vector getChildren()
public void viewRemoved()
public void doLayout()
public void addChildView(View v)
public void removeFromTree()
public void removeChild(View child)
public void removeChildren()
public void repaintDocument()
public void repaintDocument(View view)
public void repaintView()
public void createChildViews(org.w3c.dom.Node parent)
public View createChildView(org.w3c.dom.Node child,
org.w3c.dom.Node parent)
public void setSizeRequirements()
public void setStyle(org.w3c.dom.css.CSSStyleDeclaration s)
public SizeRequirements getSizeRequirements()
public View getFirstChild()
public CSSRenderer getCSSRenderer()
public void repaint(java.awt.Image img)
public boolean hasAbsoluteChildren()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||