| javax.swing.JPanel org.jfree.demo.TextBlockPanel
TextBlockPanel | public TextBlockPanel(String text, Font font)(Code) | | Creates a new panel.
Parameters: text - the text. Parameters: font - the font. |
getFont | public Font getFont()(Code) | | Returns the font.
The font. |
getPreferredSize | public Dimension getPreferredSize()(Code) | | Returns the preferred size for the panel.
The preferred size. |
paintComponent | public void paintComponent(Graphics g)(Code) | | Paints the panel.
Parameters: g - the graphics device. |
setFont | public void setFont(Font font)(Code) | | Sets the font.
Parameters: font - the font. |
|
|