|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.TeeBase
com.steema.teechart.Shape
com.steema.teechart.Panel
public class Panel
Title: Panel class.
Description: Chart background panel characteristics
Copyright (c) 2005-2008 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Field Summary | |
---|---|
static java.awt.SystemColor |
defaultColor
|
protected Graphics3D |
internalCanvas
|
Fields inherited from class com.steema.teechart.Shape |
---|
bBevel, bBorderRound, bBrush, bImageBevel, bTransparent, defaultVisible, pPen, shadow, shapeBounds, visible |
Fields inherited from class com.steema.teechart.TeeBase |
---|
chart |
Constructor Summary | |
---|---|
Panel()
|
|
Panel(IBaseChart c)
|
Method Summary | |
---|---|
Rectangle |
applyMargins(Rectangle r)
Applies panel margins. |
void |
backImageClear()
Obsolete. Please Set Panel.Image=null. |
Rectangle |
draw(IGraphics3D g,
Rectangle r)
Paints the Chart in your preferred Canvas and region. |
boolean |
getBackImageInside()
Obsolete. Please use Walls.Back.Image instead. |
ChartPen |
getBorderPen()
Obsolete. Please use the Pen method instead. |
double |
getMarginBottom()
Bottom margin expressed as percentage of Chart Drawing. Each Chart.Panel class has four margin properties: LeftMargin, RightMargin, TopMargin, BottomMargin. |
double |
getMarginLeft()
Left margin expressed as percentage of Chart Drawing. Each Chart.Panel class has four margin parameters: LeftMargin, RightMargin, TopMargin, BottomMargin. |
double |
getMarginRight()
Right margin expressed as percentage of Chart Drawing. Each Chart.Panel class has four margin properties: LeftMargin, RightMargin, TopMargin, BottomMargin. |
double |
getMarginTop()
Top margin expressed as percentage of Chart Drawing. Each Chart.Panel class has four margin properties: LeftMargin, RightMargin, TopMargin, BottomMargin. |
PanelMarginUnits |
getMarginUnits()
The units in which the Margins are expressed. Either as a percentage of the pixel height and width of the Chart Drawing Canvas, or in pixels from the panel borders. Default value: Percent |
boolean |
getVisible()
Shows or hides the Panel. |
void |
setBackImageInside(boolean value)
Obsolete. Please use Walls.Back.Image instead. |
void |
setMarginBottom(double value)
Sets Bottom margin as percentage of Chart Drawing. Default value: 8 |
void |
setMarginLeft(double value)
Sets Left margin as percentage of Chart Drawing. Default value: 12 |
void |
setMarginRight(double value)
Sets Right margin as percentage of Chart Drawing. Default value: 12 |
void |
setMarginTop(double value)
Sets Top margin as percentage of Chart Drawing. Default value: 8 |
void |
setMarginUnits(PanelMarginUnits value)
Sets the units in which the Margins are expressed. Default value: Percent |
void |
setTransparent(boolean value)
Enables/disables transparency of shape. |
void |
setVisible(boolean value)
Shows or hides the Panel. |
Methods inherited from class com.steema.teechart.Shape |
---|
assign, getBevel, getBevelInner, getBevelOuter, getBevelWidth, getBorderRound, getBottom, getBrush, getColor, getGradient, getHeight, getImage, getImageBevel, getImageMode, getImageTransparent, getLeft, getPen, getRight, getShadow, getShapeBounds, getTop, getTransparency, getTransparent, getWidth, paint, setBevel, setBevelInner, setBevelOuter, setBevelWidth, setBorderRound, setBottom, setBrush, setChart, setColor, setColor, setDefaultVisible, setHeight, setImage, setImageMode, setImageTransparent, setLeft, setPen, setRight, setShapeBounds, setTop, setTransparency, setWidth |
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, invalidate, setBooleanProperty, setColorProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Graphics3D internalCanvas
public static final java.awt.SystemColor defaultColor
Constructor Detail |
---|
public Panel(IBaseChart c)
public Panel()
Method Detail |
---|
public ChartPen getBorderPen()
public boolean getVisible()
getVisible
in class Shape
public void setVisible(boolean value)
setVisible
in class Shape
value
- booleanpublic void setTransparent(boolean value)
Shape
setTransparent
in class Shape
value
- booleanpublic Rectangle draw(IGraphics3D g, Rectangle r)
g
- IGraphics3Dr
- Rectangle
public Rectangle applyMargins(Rectangle r)
r
-
public void backImageClear()
public PanelMarginUnits getMarginUnits()
public void setMarginUnits(PanelMarginUnits value)
value
- PanelMarginUnitspublic double getMarginLeft()
public void setMarginLeft(double value)
value
- doublegetMarginLeft()
public double getMarginTop()
public void setMarginTop(double value)
value
- doublegetMarginTop()
public double getMarginRight()
public void setMarginRight(double value)
value
- doublegetMarginRight()
public double getMarginBottom()
public void setMarginBottom(double value)
value
- doublegetMarginBottom()
public boolean getBackImageInside()
public void setBackImageInside(boolean value)
value
- boolean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |