Class FrameHeader
- java.lang.Object
-
- com.epicbot.api.shared.util.paint.frame.FramePart
-
- com.epicbot.api.shared.util.paint.frame.FrameHeader
-
public class FrameHeader extends FramePart
-
-
Constructor Summary
Constructors Constructor Description FrameHeader(PaintFrame frame, java.lang.String title)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
draw(java.awt.Graphics2D g2d, double x, double y, Dimension2D frameSize, APIContext ctx)
protected void
drawBackground(java.awt.Graphics2D graphics2d, int x, int y, int width, int height)
java.awt.Color
getBackground()
java.awt.Font
getFont()
Dimension2D
getSize(java.awt.Graphics2D g2d, APIContext ctx)
java.lang.String
getTitle()
void
setBackground(java.awt.Color background)
void
setFont(java.awt.Font font)
void
setTitle(java.lang.String title)
-
-
-
Constructor Detail
-
FrameHeader
public FrameHeader(PaintFrame frame, java.lang.String title)
-
-
Method Detail
-
setTitle
public void setTitle(java.lang.String title)
-
getTitle
public java.lang.String getTitle()
-
setFont
public void setFont(java.awt.Font font)
-
getFont
public java.awt.Font getFont()
-
setBackground
public void setBackground(java.awt.Color background)
-
getBackground
public java.awt.Color getBackground()
-
getSize
public Dimension2D getSize(java.awt.Graphics2D g2d, APIContext ctx)
-
draw
public double draw(java.awt.Graphics2D g2d, double x, double y, Dimension2D frameSize, APIContext ctx)
-
drawBackground
protected void drawBackground(java.awt.Graphics2D graphics2d, int x, int y, int width, int height)
-
-