|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectDefaultLayerLayout
org.pbjar.jxlayer.plaf.ext.transform.TransformLayout
public class TransformLayout
A specialized layout manager for JXLayer in combination with the
TransformUI.
It extends DefaultLayerLayout and, as long as no enabled
TransformUI is set to JXLayer, will act exactly the same as
its super class.
However, when the above conditions are all true, its behavior becomes different:
AffineTransform returned by
TransformUI.getPreferredTransform(Dimension, JXLayer);AffineTransform returned by
TransformUI.getPreferredTransform(Dimension, JXLayer);
JXLayer.getView(),
JXLayer.getGlassPane(),
TransformUI| Constructor Summary | |
|---|---|
TransformLayout()
|
|
| Method Summary | |
|---|---|
void |
layoutContainer(Container parent)
Overridden to apply a different layout when the LayerUI is an
instance of TransformUI. |
Dimension |
minimumLayoutSize(Container parent)
Overridden to apply a preferred transform on the Dimension object
returned from the super implementation. |
Dimension |
preferredLayoutSize(Container parent)
Overridden to apply a preferred transform on the Dimension object
returned from the super implementation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransformLayout()
| Method Detail |
|---|
public void layoutContainer(Container parent)
LayerUI is an
instance of TransformUI. If this is not the case, the super
implementation will be invoked.
public Dimension minimumLayoutSize(Container parent)
Dimension object
returned from the super implementation.
public Dimension preferredLayoutSize(Container parent)
Dimension object
returned from the super implementation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||