1
4
5 import org.aswing.*;
6 import org.aswing.geom.*;
7
8
12 class org.aswing.EmptyLayout implements LayoutManager{
13
14 public function EmptyLayout(){
15 }
16
17
20 public function addLayoutComponent(comp:Component, constraints:Object):Void{
21 }
22
23
26 public function removeLayoutComponent(comp:Component):Void{
27 }
28
29
32 public function preferredLayoutSize(target:Container):Dimension{
33 return target.getSize();
34 }
35
36
39 public function minimumLayoutSize(target:Container):Dimension{
40 return new Dimension(0, 0);
41 }
42
43
46 public function maximumLayoutSize(target:Container):Dimension{
47 return new Dimension(Number.MAX_VALUE, Number.MAX_VALUE);
48 }
49
50
53 public function layoutContainer(target:Container):Void{
54 }
55
56
59 public function getLayoutAlignmentX(target:Container):Number{
60 return 0;
61 }
62
63
66 public function getLayoutAlignmentY(target:Container):Number{
67 return 0;
68 }
69
70
73 public function invalidateLayout(target:Container):Void{
74 }
75 }
76