public abstract class AbstractComponent extends Object implements Component
Constructor and Description |
---|
AbstractComponent() |
Modifier and Type | Method and Description |
---|---|
protected void |
drawBackgroundInternalU(UGraphic ug,
Area area) |
protected abstract void |
drawInternalU(UGraphic ug,
Area area) |
void |
drawU(UGraphic ug,
Area area,
Context2D context) |
double |
getPaddingX() |
double |
getPaddingY() |
Dimension2D |
getPreferredDimension(StringBounder stringBounder) |
abstract double |
getPreferredHeight(StringBounder stringBounder) |
abstract double |
getPreferredWidth(StringBounder stringBounder) |
protected void |
stroke(Graphics2D g2d,
float dash) |
protected void |
stroke(Graphics2D g2d,
float dash,
float thickness) |
protected UGraphic |
stroke(UGraphic ug,
double dashVisible,
double dashSpace) |
protected UGraphic |
stroke(UGraphic ug,
double dashVisible,
double dashSpace,
double thickness) |
protected final void stroke(Graphics2D g2d, float dash, float thickness)
protected final UGraphic stroke(UGraphic ug, double dashVisible, double dashSpace, double thickness)
protected final void stroke(Graphics2D g2d, float dash)
public double getPaddingX()
public double getPaddingY()
public abstract double getPreferredWidth(StringBounder stringBounder)
getPreferredWidth
in interface Component
public abstract double getPreferredHeight(StringBounder stringBounder)
getPreferredHeight
in interface Component
public final Dimension2D getPreferredDimension(StringBounder stringBounder)
getPreferredDimension
in interface Component
Copyright © 2014. All Rights Reserved.