Interface CSSElementContext
- All Known Implementing Classes:
CSSElementContextImpl
public interface CSSElementContext
Context of the
Element which wrap the native widget (SWT widget,
Swing Component...).
This context can be used to store any data.-
Method Summary
Modifier and TypeMethodDescriptionbooleanelementMustBeRefreshed(IElementProvider elementProvider) Return true if element provider has changed and false otherwise.Get data withkey.Return theElementwhich wrap the native widget.voidSet datavalueinto the context withkey.voidsetElement(Element newElement) Set theElementwhich wrap the native widget.voidsetElementProvider(IElementProvider elementProvider) SetIElementProviderused to get the Element wich wrap the native widget.
-
Method Details
-
getElement
Element getElement()Return theElementwhich wrap the native widget. -
setElement
Set theElementwhich wrap the native widget. -
setData
Set datavalueinto the context withkey. -
getData
Get data withkey. -
elementMustBeRefreshed
Return true if element provider has changed and false otherwise. -
setElementProvider
SetIElementProviderused to get the Element wich wrap the native widget.
-