| java.lang.Object org.netbeans.modules.form.layoutdesign.LayoutComponent
LayoutComponent | final public class LayoutComponent implements LayoutConstants(Code) | | This class manages layout information about a component in the layout.
It refers to corresponding layout intervals (horizontal and vertical) in the
layout structure.
A layout component can be found according to its Id in the layout model.
The component may serve the role of layout container - then it also defines
top (root) intervals (horizontal and vertical) for its internal layouts.
See Also: LayoutInterval author: Tomas Pavek |
Method Summary | |
int | addComponent(LayoutComponent comp, int index) | void | addLayoutRoots(LayoutInterval[] roots, int index) | LayoutInterval[] | addNewLayoutRoots() | public void | addPropertyChangeListener(PropertyChangeListener listener) | void | firePropertyChange(String propertyName, Object oldValue, Object newValue) | static LayoutComponent | getCommonParent(LayoutComponent comp1, LayoutComponent comp2) | LayoutInterval | getDefaultLayoutRoot(int dimension) | public String | getId() | public LayoutInterval | getLayoutInterval(int dimension) | public LayoutInterval | getLayoutRoot(int rootIndex, int dimension) | public int | getLayoutRootCount() | List<LayoutInterval[]> | getLayoutRoots() | LayoutInterval[] | getLayoutRoots(LayoutInterval interval) | int | getLayoutRootsIndex(LayoutInterval interval) | public int | getLinkSizeId(int dimension) | public LayoutComponent | getParent() | LayoutInterval[] | getParentRoots() | boolean[] | getResizability() | LayoutComponent | getSubComponent(int index) | int | getSubComponentCount() | public List<LayoutComponent> | getSubcomponents() | int | indexOf(LayoutComponent comp) | public boolean | isLayoutContainer() | public boolean | isLinkSized(int dimension) | public boolean | isParentOf(LayoutComponent comp) | int | removeComponent(LayoutComponent comp) | int | removeLayoutRoots(LayoutInterval[] roots) | public void | removePropertyChangeListener(PropertyChangeListener listener) | void | setCurrentBounds(Rectangle bounds, int baseline) | void | setCurrentInterior(Rectangle bounds) | void | setId(String id) | void | setLayoutContainer(boolean isContainer, List<LayoutInterval[]> roots) | void | setLayoutInterval(LayoutInterval interval, int dimension) | void | setLayoutRoots(List<LayoutInterval[]> roots) | public void | setLinkSizeId(int id, int dimension) | void | setResizability(boolean[] resizability) |
LayoutComponent | public LayoutComponent(String id, boolean isContainer)(Code) | | |
LayoutComponent | public LayoutComponent(String id, boolean isContainer, int initialWidth, int initialHeight)(Code) | | |
getLayoutRootCount | public int getLayoutRootCount()(Code) | | |
getLinkSizeId | public int getLinkSizeId(int dimension)(Code) | | whether this intervals size is linked with some other component in a direction horizontal or vertical |
getResizability | boolean[] getResizability()(Code) | | |
getSubComponentCount | int getSubComponentCount()(Code) | | |
isLayoutContainer | public boolean isLayoutContainer()(Code) | | |
isLinkSized | public boolean isLinkSized(int dimension)(Code) | | whether this intervals size is linked with some other component in a direction horizontal or vertical |
setCurrentBounds | void setCurrentBounds(Rectangle bounds, int baseline)(Code) | | |
setLinkSizeId | public void setLinkSizeId(int id, int dimension)(Code) | | whether this intervals size is linked with some other component in a direction horizontal or vertical |
setResizability | void setResizability(boolean[] resizability)(Code) | | |
|
|