public class YAxisDynamicRenderer extends AbstractRenderer
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.swt.graphics.LineAttributes |
lineAttributes |
propertyChangeListener
Constructor and Description |
---|
YAxisDynamicRenderer(ChartRenderer chart) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.RGB |
getColor() |
String |
getFormat() |
int |
getTextPadding() |
int |
getWidth() |
boolean |
isShowLabels() |
void |
render(Graphics g,
org.eclipse.swt.graphics.Rectangle clientRectangle) |
org.eclipse.swt.graphics.Rectangle |
resize(org.eclipse.jface.resource.ResourceManager resourceManager,
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, dispose, handlePropertyChange, redraw, relayoutParent
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()
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.jface.resource.ResourceManager resourceManager, org.eclipse.swt.graphics.Rectangle clientRectangle)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.