|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ViewInfo
Simple data object to encapsulate information about views. Use ViewManager.getViewInfo(Element)
to create one.
NOTE: Do not hang on to these for very long - remember Views are lightweight and replaced easily. Retained references to this class are memory leaks.
Method Summary | |
---|---|
Rectangle |
getAllocation()
Complete area this view is allocated on screen. |
Rectangle |
getInsideAllocation()
Actual size of the view content (minus insets). |
View |
getView()
Underlying View object |
Method Detail |
---|
View getView()
Rectangle getAllocation()
Rectangle getInsideAllocation()
CompositeView.getInsideAllocation(Shape)
.
If the view does not extend CompositeView then this returns null.
|
Copyright (c) 2005-2012 Ephox Pty Ltd. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |