Java org.jfree.chart ChartFrame fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.chart ChartFrame fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.chart ChartFrame.

The text is from its open source code.

Subclass

org.jfree.chart.ChartFrame has subclasses.
Click this link to see all its subclasses.

Constructor

Method

Componentadd(String name, Component comp)
Adds the specified component to this container.
Componentadd(Component comp)
Appends the specified component to the end of this container.
voiddispose()
Releases all of the native screen resources used by this Window , its subcomponents, and all of its owned children.
ChartPanelgetChartPanel()
Returns the chart panel for the frame.
DimensiongetMinimumSize()
Returns the minimum size of this container.
DimensiongetSize()
Returns the size of this component in the form of a Dimension object.
voidpack()
Causes this Window to be sized to fit the preferred size and layouts of its subcomponents.
voidsetBackground(Color bgColor)
voidsetBounds(int x, int y, int width, int height)

The width or height values are automatically enlarged if either is less than the minimum size as specified by previous call to setMinimumSize .

voidsetContentPane(Container contentPane)
Sets the contentPane property.
voidsetDefaultCloseOperation(int operation)
Sets the operation that will happen by default when the user initiates a "close" on this frame.
voidsetExtendedState(int state)
Sets the state of this frame.
voidsetIconImage(Image image)
voidsetLayout(LayoutManager manager)
Sets the LayoutManager.
voidsetLocation(int x, int y)

The method changes the geometry-related data.

voidsetLocation(Point p)

The method changes the geometry-related data.

voidsetLocationByPlatform(boolean locationByPlatform)
Sets whether this Window should appear at the default location for the native windowing system or at the current location (returned by getLocation ) the next time the Window is made visible.
voidsetLocationRelativeTo(Component c)
Sets the location of the window relative to the specified component according to the following scenarios.
voidsetMinimumSize(Dimension minimumSize)
Sets the minimum size of this window to a constant value.
voidsetPreferredSize(Dimension preferredSize)
Sets the preferred size of this component to a constant value.
voidsetResizable(boolean resizable)
Sets whether this frame is resizable by the user.
voidsetSize(Dimension d)

The d.width and d.height values are automatically enlarged if either is less than the minimum size as specified by previous call to setMinimumSize .

voidsetSize(int width, int height)

The width and height values are automatically enlarged if either is less than the minimum size as specified by previous call to setMinimumSize .

voidsetTitle(String title)
Sets the title for this frame to the specified string.
voidsetVisible(boolean b)
Shows or hides this Window depending on the value of parameter b .