|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stimulsoft.report.infographics.gauge.primitives.base.StiElementBase
com.stimulsoft.report.infographics.gauge.primitives.scales.StiScaleBase
public abstract class StiScaleBase
Copyright Stimulsoft
Nested Class Summary | |
---|---|
class |
StiScaleBase.StiScaleHelper
|
Field Summary | |
---|---|
IStiScaleBarGeometry |
barGeometry
|
StiGauge |
gauge
|
StiScaleBase.StiScaleHelper |
scaleHelper
|
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef |
---|
REFERENCE_EMPTY, REFERENCE_REPORT |
Constructor Summary | |
---|---|
StiScaleBase()
|
Method Summary | |
---|---|
void |
cleanReference()
|
java.lang.Object |
clone()
Creates a new object that is a copy of the current instance. |
StiScaleBase |
createNew()
|
void |
drawElement(StiGaugeContextPainter context)
|
StiBrush |
getBorderBrush()
the border of the component. |
StiBrush |
getBrush()
a brush to fill a component. |
abstract StiComponentId |
getComponentId()
|
double |
getEndWidth()
end width of the scale bar. |
StiGauge |
getGauge()
|
boolean |
getIsReversed()
value that indicates whether the scale should be shown in reverse mode. |
StiGaugeElementCollection |
getItems()
|
double |
getLeft()
X coordinate of the scale relative to height of the scale container. |
double |
getMajorInterval()
the major interval. |
double |
getMaximum()
end value of the scale. |
double |
getMinimum()
start value of the scale. |
double |
getMinorInterval()
the minor interval. |
double |
getPosition(double value)
|
java.lang.String |
getPropName()
|
int |
getReference()
|
abstract StiGaugeElemenType |
getScaleType()
|
double |
getStartWidth()
start width of the scale bar. |
double |
getTop()
Y coordinate of the scale relative to height of the scale container. |
boolean |
isUp()
|
void |
LoadFromJsonObject(JSONObject jObject)
|
void |
prepare(StiGauge gauge)
|
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode)
|
void |
setBorderBrush(StiBrush borderBrush)
the border of the component. |
void |
setBrush(StiBrush brush)
a brush to fill a component. |
void |
setEndWidth(double endWidth)
end width of the scale bar. |
void |
setGauge(StiGauge gauge)
|
void |
setIsReversed(boolean isReversed)
value that indicates whether the scale should be shown in reverse mode. |
void |
setItems(StiGaugeElementCollection items)
|
void |
setLeft(double left)
X coordinate of the scale relative to height of the scale container. |
void |
setMajorInterval(double majorInterval)
the major interval. |
void |
setMaximum(double maximum)
end value of the scale. |
void |
setMinimum(double minimum)
start value of the scale. |
void |
setMinorInterval(double minorInterval)
the minor interval. |
void |
setReference(int reference)
Установить значение ссылки. |
void |
setStartWidth(double startWidth)
start width of the scale bar. |
void |
setTop(double top)
Y coordinate of the scale relative to height of the scale container. |
Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiElementBase |
---|
applyStyle, isAllowApplyStyle, setAllowApplyStyle |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public IStiScaleBarGeometry barGeometry
public StiScaleBase.StiScaleHelper scaleHelper
public StiGauge gauge
Constructor Detail |
---|
public StiScaleBase()
Method Detail |
---|
public void setReference(int reference)
IStiSerializableRef
setReference
in interface IStiSerializableRef
reference
- значение ссылкиpublic int getReference()
getReference
in interface IStiSerializableRef
public void cleanReference()
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject
in interface IStiJsonReportObject
JSONException
public void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject
in interface IStiJsonReportObject
JSONException
public abstract StiComponentId getComponentId()
public java.lang.String getPropName()
public java.lang.Object clone()
StiElementBase
clone
in class StiElementBase
public boolean isUp()
public StiGauge getGauge()
public void setGauge(StiGauge gauge)
gauge
- the gauge to setpublic double getLeft()
public void setLeft(double left)
left
- the left to setpublic double getTop()
public void setTop(double top)
top
- the top to setpublic double getStartWidth()
public void setStartWidth(double startWidth)
startWidth
- the startWidth to setpublic double getEndWidth()
public void setEndWidth(double endWidth)
endWidth
- the endWidth to setpublic double getMajorInterval()
public void setMajorInterval(double majorInterval)
majorInterval
- the majorInterval to setpublic double getMinorInterval()
public void setMinorInterval(double minorInterval)
minorInterval
- the minorInterval to setpublic double getMinimum()
public void setMinimum(double minimum)
minimum
- the minimum to setpublic double getMaximum()
public void setMaximum(double maximum)
maximum
- the maximum to setpublic boolean getIsReversed()
public void setIsReversed(boolean isReversed)
isReversed
- the isReversed to setpublic StiBrush getBrush()
public void setBrush(StiBrush brush)
brush
- the brush to setpublic StiBrush getBorderBrush()
public void setBorderBrush(StiBrush borderBrush)
borderBrush
- the borderBrush to setpublic StiGaugeElementCollection getItems()
public void setItems(StiGaugeElementCollection items)
items
- the items to setpublic abstract StiGaugeElemenType getScaleType()
public void prepare(StiGauge gauge)
public double getPosition(double value)
public StiScaleBase createNew()
public void drawElement(StiGaugeContextPainter context)
drawElement
in class StiElementBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |