|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pbjar.jxlayer.plaf.ext.transform.DefaultLayerLayout
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,
Serialized Form| 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 org.pbjar.jxlayer.plaf.ext.transform.DefaultLayerLayout |
|---|
addLayoutComponent, removeLayoutComponent |
| 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.
layoutContainer in interface LayoutManagerlayoutContainer in class DefaultLayerLayoutpublic Dimension minimumLayoutSize(Container parent)
Dimension object
returned from the super implementation.
minimumLayoutSize in interface LayoutManagerminimumLayoutSize in class DefaultLayerLayoutpublic Dimension preferredLayoutSize(Container parent)
Dimension object
returned from the super implementation.
preferredLayoutSize in interface LayoutManagerpreferredLayoutSize in class DefaultLayerLayout
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||