|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.beanfabrics.swt.AbstractDecorator<org.eclipse.swt.widgets.Label>
org.beanfabrics.swt.BnLabelDecorator
public class BnLabelDecorator
Constructor Summary | |
---|---|
BnLabelDecorator(org.eclipse.swt.widgets.Composite parent,
int style)
|
|
BnLabelDecorator(org.eclipse.swt.widgets.Label label)
|
Method Summary | |
---|---|
IModelProvider |
getModelProvider()
Returns the provider. |
Path |
getPath()
Returns the path. |
ITextPM |
getPresentationModel()
Returns the PresentationModel of this view. |
ValidationIndicator |
getValidationIndicator()
|
protected void |
refreshText()
|
protected void |
refreshTooltip()
|
protected void |
refreshUI()
|
protected void |
refreshValidationIndicator()
|
void |
setModelProvider(IModelProvider provider)
Sets the provider. |
void |
setPath(Path path)
Sets the path. |
void |
setPresentationModel(ITextPM pModel)
Sets the PresentationModel of this view. |
void |
setValidationIndicator(ValidationIndicator validationIndicator)
|
Methods inherited from class org.beanfabrics.swt.AbstractDecorator |
---|
getControl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BnLabelDecorator(org.eclipse.swt.widgets.Label label)
public BnLabelDecorator(org.eclipse.swt.widgets.Composite parent, int style)
Method Detail |
---|
public ITextPM getPresentationModel()
PresentationModel
of this view.
getPresentationModel
in interface View<ITextPM>
PresentationModel
public void setPresentationModel(ITextPM pModel)
PresentationModel
of this view.
setPresentationModel
in interface View<ITextPM>
pModel
- the PresentationModel
protected void refreshUI()
protected void refreshText()
protected void refreshTooltip()
protected void refreshValidationIndicator()
public void setModelProvider(IModelProvider provider)
setModelProvider
in interface ModelSubscriber
provider
- the providerpublic IModelProvider getModelProvider()
getModelProvider
in interface ModelSubscriber
ModelProvider
public void setPath(Path path)
Path
is used to locate the model inside the
provider.
setPath
in interface ModelSubscriber
path
- the path relative to the provider's root modelpublic Path getPath()
getPath
in interface ModelSubscriber
public ValidationIndicator getValidationIndicator()
public void setValidationIndicator(ValidationIndicator validationIndicator)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |