public class XAxisDynamicRenderer extends AbstractRenderer
Modifier and Type | Field and Description |
---|---|
protected int |
labelSpacing |
protected org.eclipse.swt.graphics.LineAttributes |
lineAttributes |
protected PropertyChangeListener |
propertyChangeListener |
Constructor and Description |
---|
XAxisDynamicRenderer(ChartRenderer chart) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
String |
getFormat() |
int |
getHeight() |
Long |
getStep() |
int |
getTextPadding() |
protected void |
handlePropertyChange(PropertyChangeEvent evt) |
boolean |
isShowLabels() |
void |
render(Graphics g,
org.eclipse.swt.graphics.Rectangle clientRectangle) |
org.eclipse.swt.graphics.Rectangle |
resize(org.eclipse.swt.graphics.Rectangle clientRectangle) |
void |
setAlign(int alignment) |
void |
setAxis(XAxis axis) |
void |
setFormat(String format) |
void |
setHeight(int height) |
void |
setShowLabels(boolean showLabels) |
void |
setStep(Long step) |
void |
setTextPadding(int textPadding) |
checkWidget, redraw
protected PropertyChangeListener propertyChangeListener
protected final org.eclipse.swt.graphics.LineAttributes lineAttributes
protected int labelSpacing
public XAxisDynamicRenderer(ChartRenderer chart)
protected void handlePropertyChange(PropertyChangeEvent evt)
public void setAlign(int alignment)
public void setHeight(int height)
public void setFormat(String format)
public String getFormat()
public void setShowLabels(boolean showLabels)
public boolean isShowLabels()
public int getHeight()
public void setTextPadding(int textPadding)
public int getTextPadding()
public void setStep(Long step)
public Long getStep()
public void dispose()
dispose
in class AbstractRenderer
public void setAxis(XAxis axis)
public void render(Graphics g, org.eclipse.swt.graphics.Rectangle clientRectangle)
public org.eclipse.swt.graphics.Rectangle resize(org.eclipse.swt.graphics.Rectangle clientRectangle)