|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fuin.utils4swing.layout.scalable.LineBorderScaler
public final class LineBorderScaler
Scales a LineBorder.
| Constructor Summary | |
|---|---|
LineBorderScaler()
|
|
| Method Summary | |
|---|---|
ScaledBorder |
createScaledBorder(Border border,
ScalableLayoutRegistry registry)
Creates a container for the original border values. |
Class<? extends Border> |
getType()
Returns the type of component this class can scale. |
Border |
scale(ScaledBorder original,
double factor,
ScalableLayoutRegistry registry)
Resize the Border. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LineBorderScaler()
| Method Detail |
|---|
public final Class<? extends Border> getType()
getType in interface BorderScaler
public ScaledBorder createScaledBorder(Border border,
ScalableLayoutRegistry registry)
createScaledBorder in interface BorderScalerborder - Border (not yet scaled).registry - Current registry.
public final Border scale(ScaledBorder original,
double factor,
ScalableLayoutRegistry registry)
scale in interface BorderScaleroriginal - Original (unchanged) border.factor - Factor to use.registry - Current registry.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||