|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ComponentScaler
Scales (resizes) a special type of component.
| Method Summary | |
|---|---|
ScaledComponent |
createScaledComponent(Component comp,
ScalableLayoutRegistry registry)
Creates a container for the original component values. |
Class<? extends Component> |
getType()
Returns the type of component this class can scale. |
void |
scale(ScaledComponent component,
double factor,
ScalableLayoutRegistry registry)
Resize the component. |
| Method Detail |
|---|
Class<? extends Component> getType()
ScaledComponent createScaledComponent(Component comp,
ScalableLayoutRegistry registry)
comp - Component (not yet scaled).#registry - Current registry.
void scale(ScaledComponent component,
double factor,
ScalableLayoutRegistry registry)
component - Component to resize.factor - Factor to use.registry - Current registry.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||