| javax.swing.JLabel net.xoetrope.builder.editor.XComponentSizer
XComponentSizer | public class XComponentSizer extends JLabel implements MouseListener,MouseMotionListener,FocusListener(Code) | | Provides a set of grab handles to visually manipulate a component. In response
to grabbing one of the handles the component is resize or moved as needed.
Copyright (c) Xoetrope Ltd., 1998-2003
version: $Revision: 1.19 $ |
adjustBounds | public void adjustBounds(Rectangle r)(Code) | | Adjust this component and its children so that the specified rectangle is
highlighted and force any listeneing components to update themselves
Parameters: r - the new size |
getPage | public XPage getPage()(Code) | | Get the page that owns this componet
|
getPageResource | public XPageResource getPageResource()(Code) | | Get the screen with which the highlighted component is associated.
the screen that owns the highlighted control |
highlightComponent | public void highlightComponent(XGuidePane owner, XPageResource page, Component comp)(Code) | | Add this Sizer component to the container so that the specified component
appears to be selected
Parameters: comp - the selected component |
isEnabled | public boolean isEnabled()(Code) | | |
isFocusable | public boolean isFocusable()(Code) | | |
mouseDragged | public void mouseDragged(MouseEvent e)(Code) | | Dynamically resize the component in response to mouse drags.
Parameters: e - |
remove | public void remove()(Code) | | Remove the sizer from the parent and hide
|
repositionTarget | public void repositionTarget()(Code) | | Updates the targets position to match that of the sizer
|
setBounds | public void setBounds(Rectangle r)(Code) | | Adjust this component and its children so that the specified rectangle is
highlighted
Parameters: r - the new size |
setSizerListener | public void setSizerListener(SizerListener sListener)(Code) | | Add a listener for the size changes
Parameters: sListener - |
|
|