public class Panel extends Shape
Title: Panel class.
Description: Chart background panel characteristics
Copyright (c) 2005-2018 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Modifier and Type | Field and Description |
---|---|
static Color |
defaultColor |
protected Graphics3D |
internalCanvas |
bBevel, bBorderRound, bBrush, bImageBevel, bTransparent, defaultVisible, pPen, shadow, shapeBounds, visible
chart, InternalUse
Constructor and Description |
---|
Panel() |
Panel(IBaseChart c) |
Modifier and Type | Method and Description |
---|---|
Rectangle |
applyMargins(Rectangle r)
Applies panel margins.
|
void |
backImageClear()
Obsolete.
|
Rectangle |
draw(IGraphics3D g,
Rectangle r)
Paints the Chart in your preferred Canvas and region.
|
boolean |
getBackImageInside()
Obsolete.
|
ChartPen |
getBorderPen()
Obsolete.
|
double |
getMarginBottom()
Bottom margin expressed as percentage of Chart Drawing.
|
double |
getMarginLeft()
Left margin expressed as percentage of Chart Drawing.
|
double |
getMarginRight()
Right margin expressed as percentage of Chart Drawing.
|
double |
getMarginTop()
Top margin expressed as percentage of Chart Drawing.
|
PanelMarginUnits |
getMarginUnits()
The units in which the Margins are expressed.
|
boolean |
getVisible()
Shows or hides the Panel.
|
void |
setBackImageInside(boolean value)
Obsolete.
|
void |
setMarginBottom(double value)
Sets Bottom margin as percentage of Chart Drawing.
|
void |
setMarginLeft(double value)
Sets Left margin as percentage of Chart Drawing.
|
void |
setMarginRight(double value)
Sets Right margin as percentage of Chart Drawing.
|
void |
setMarginTop(double value)
Sets Top margin as percentage of Chart Drawing.
|
void |
setMarginUnits(PanelMarginUnits value)
Sets the units in which the Margins are expressed.
|
void |
setTransparent(boolean value)
Enables/disables transparency of shape.
|
void |
setVisible(boolean value)
Shows or hides the Panel.
|
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, setDefaultVisible, setHeight, setImage, setImageMode, setImageTransparent, setLeft, setPen, setRight, setShapeBounds, setTop, setTransparency, setWidth
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
protected Graphics3D internalCanvas
public static final Color defaultColor
public Panel(IBaseChart c)
public Panel()
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
- Rectanglepublic 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