public class YAxisDynamicRenderer extends AbstractRenderer
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.swt.graphics.LineAttributes |
lineAttributes |
protected org.eclipse.jface.resource.ResourceManager |
resourceManager |
Constructor and Description |
---|
YAxisDynamicRenderer(ChartRenderer chart) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
org.eclipse.swt.graphics.RGB |
getColor() |
String |
getFormat() |
int |
getTextPadding() |
int |
getWidth() |
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(YAxis axis) |
void |
setColor(org.eclipse.swt.graphics.RGB color) |
void |
setFormat(String format) |
void |
setLabelSpacing(int labelSpacing) |
void |
setShowLabels(boolean showLabels) |
void |
setTextPadding(int textPadding) |
void |
setWidth(int width) |
checkWidget, redraw
protected final org.eclipse.swt.graphics.LineAttributes lineAttributes
protected final org.eclipse.jface.resource.ResourceManager resourceManager
public YAxisDynamicRenderer(ChartRenderer chart)
public void setFormat(String format)
public String getFormat()
public void setShowLabels(boolean showLabels)
public boolean isShowLabels()
public void setLabelSpacing(int labelSpacing)
public void setWidth(int width)
public int getWidth()
public void setTextPadding(int textPadding)
public int getTextPadding()
protected void handlePropertyChange(PropertyChangeEvent evt)
public void setAlign(int alignment)
public void setColor(org.eclipse.swt.graphics.RGB color)
public org.eclipse.swt.graphics.RGB getColor()
public void setAxis(YAxis 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)
public void dispose()
dispose
in class AbstractRenderer