1 19 20 package org.netbeans.modules.form.layoutsupport; 21 22 import java.awt.Component ; 23 import java.awt.Container ; 24 import java.beans.PropertyChangeEvent ; 25 import java.beans.PropertyVetoException ; 26 27 import org.netbeans.modules.form.codestructure.*; 28 29 44 45 public interface LayoutSupportContext { 46 47 51 public CodeStructure getCodeStructure(); 52 53 57 public CodeExpression getContainerCodeExpression(); 58 59 62 public CodeExpression getContainerDelegateCodeExpression(); 63 64 68 public Container getPrimaryContainer(); 69 70 73 public Container getPrimaryContainerDelegate(); 74 75 79 public Component getPrimaryComponent(int index); 80 81 87 public void updatePrimaryContainer(); 88 89 94 public void containerLayoutChanged(PropertyChangeEvent evt) 95 throws PropertyVetoException ; 96 97 102 public void componentLayoutChanged(int index, PropertyChangeEvent evt) 103 throws PropertyVetoException ; 104 } 105 | Popular Tags |