public interface IExpressionButton
Modifier and Type | Method and Description |
---|---|
void |
addListener(Listener listener)
Adds a listener, which will be notified with a SWT.Mofigy event if the
expression text has changed.
|
java.lang.String |
getDisplayExpression()
Returns the display string in expression builder.
|
java.lang.String |
getExpression()
Returns the expression that's saved in model
|
java.lang.String |
getExpressionType()
Returns the type of the expression.
|
boolean |
isCube()
Returns whether the chart is using a cube.
|
boolean |
isEnabled()
Returns the enabled state
|
void |
setAccessor(org.eclipse.birt.chart.ui.util.ChartUIUtil.EAttributeAccessor<java.lang.String> accessor)
Sets the accessor, with which the expression will be load from and save
to.
|
void |
setAssitField(IAssistField assistField)
Set the AssistField.
|
void |
setBindingName(java.lang.String bindingName,
boolean bNotifyEvents)
Sets the expression to a binding expression created with the given
binding name and the current expression type.
|
void |
setEnabled(boolean bEnabled)
Sets the enabled state
|
void |
setExpression(java.lang.String expr)
Sets the expression that's saved in model, no notifications will be sent.
|
void |
setExpression(java.lang.String expr,
boolean bNotifyEvents)
Sets the expression that's saved in model
|
void |
setPredefinedQuery(java.lang.Object[] predefinedQuery) |
java.lang.String getExpression()
void setBindingName(java.lang.String bindingName, boolean bNotifyEvents)
bindingName
- the binding namebNotifyEvents
- indicates whether the listeners needed to notified.void setExpression(java.lang.String expr)
expr
- the expression that's saved in modelvoid setExpression(java.lang.String expr, boolean bNotifyEvents)
expr
- the expression that's saved in modelbNotifyEvents
- indicates whether the listeners needed to notified.java.lang.String getDisplayExpression()
void setEnabled(boolean bEnabled)
bEnabled
- enabled stateboolean isEnabled()
void addListener(Listener listener)
listener
- void setAccessor(org.eclipse.birt.chart.ui.util.ChartUIUtil.EAttributeAccessor<java.lang.String> accessor)
accessor
- java.lang.String getExpressionType()
boolean isCube()
void setAssitField(IAssistField assistField)
assistField
- void setPredefinedQuery(java.lang.Object[] predefinedQuery)
predefinedQuery
- Copyright © 2014 OpenText Corp. All rights reserved.