public class XAxis extends AbstractPropertyChange
Modifier and Type | Field and Description |
---|---|
static String |
PROP_LABEL |
static String |
PROP_MAX |
static String |
PROP_MIN |
Constructor and Description |
---|
XAxis() |
Modifier and Type | Method and Description |
---|---|
String |
getLabel() |
long |
getMax() |
long |
getMin() |
void |
setByTimespan(long amount,
TimeUnit timeUnit) |
void |
setCenter(long center) |
void |
setLabel(String label) |
void |
setMax(long max) |
void |
setMin(long min) |
void |
setMinMax(long min,
long max) |
void |
setNowCenter() |
void |
setStartTimestamp(long milliseconds)
Set the start timestamp but don't change the period
|
void |
shiftByTimespan(long duration,
TimeUnit timeUnit) |
void |
transform(long offset,
int clientWidth) |
float |
translateToClient(int width,
long time) |
long |
translateToValue(int width,
float position) |
void |
zoom(double factor) |
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener
public static final String PROP_MIN
public static final String PROP_MAX
public static final String PROP_LABEL
public String getLabel()
public void setLabel(String label)
public long getMin()
public void setMin(long min)
public long getMax()
public void setMax(long max)
public void setMinMax(long min, long max)
public void zoom(double factor)
public void transform(long offset, int clientWidth)
public float translateToClient(int width, long time)
public long translateToValue(int width, float position)
public void setByTimespan(long amount, TimeUnit timeUnit)
public void shiftByTimespan(long duration, TimeUnit timeUnit)
public void setNowCenter()
public void setCenter(long center)
public void setStartTimestamp(long milliseconds)
milliseconds
- the new start timestampCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.