| org.netbeans.modules.visualweb.gravy.toolbox.PaletteContainerOperator
PaletteContainerOperator | public class PaletteContainerOperator extends ContainerOperator (Code) | | author: Alexandre (Shura) Iline (alexandre.iline@sun.com) |
Method Summary | |
public void | addComponent(String componentName) | public void | addComponent(String componentName, int index) | public void | addComponent(String componentName, DesignerPaneOperator designer, Point location) | public void | addComponent(String componentName, int index, DesignerPaneOperator designer, Point location) Add component which beginning text is same as others.
i.g., Image and Image Hyperlink. | public void | addComponentOfClass(Class clz) | public void | addComponentOfClass(String className) | public void | addComponentOfClass(Class clz, DesignerPaneOperator designer, Point location) | public void | addComponentOfClass(String className, DesignerPaneOperator designer, Point location) | public void | dndComponentOfClass(String componentClassName, ComponentOperator designer, Point designerPoint) | public void | dndPaletteComponent(String componentName, ComponentOperator designer, Point designerPoint) | public Point | getClickPoint(String componentName) | public Point | getClickPoint(String componentName, int index) | public Point | getClickPointOfClass(Class clz) | public Point | getClickPointOfClass(String className) | public JListOperator | getComponentsTree() | public static String | getDefaultPaletteCategory() | public void | hideComponents() | public void | placeClip(String clipName, JEditorPaneOperator editor, int caretPosition) | public void | placeClip(String clipName, JEditorPaneOperator editor) | public static PaletteContainerOperator | showCodeClips() | public void | showComponents() | public static void | showPalette() | public static PaletteContainerOperator | showPalette(String buttName, String paletteName) |
categoryButton | JCheckBoxOperator categoryButton(Code) | | |
defaultPaletteCategory | static String defaultPaletteCategory(Code) | | |
theTree | JListOperator theTree(Code) | | |
PaletteContainerOperator | public PaletteContainerOperator(String name)(Code) | | |
addComponent | public void addComponent(String componentName)(Code) | | |
addComponent | public void addComponent(String componentName, int index)(Code) | | |
addComponent | public void addComponent(String componentName, int index, DesignerPaneOperator designer, Point location)(Code) | | Add component which beginning text is same as others.
i.g., Image and Image Hyperlink. It always selects Image Hyperlink when
use addComponent("Image", designer, new Point(x,y))
as Image Hyperlink is listed in front of Image in Palette.
Example:
String componentName = "Image" ;
int index = 1 ;
palette.addComponent(componentName, indes, designer, new Point(x,y));
|
addComponentOfClass | public void addComponentOfClass(Class clz)(Code) | | |
addComponentOfClass | public void addComponentOfClass(String className)(Code) | | |
dndComponentOfClass | public void dndComponentOfClass(String componentClassName, ComponentOperator designer, Point designerPoint)(Code) | | |
dndPaletteComponent | public void dndPaletteComponent(String componentName, ComponentOperator designer, Point designerPoint)(Code) | | |
getComponentsTree | public JListOperator getComponentsTree()(Code) | | |
getDefaultPaletteCategory | public static String getDefaultPaletteCategory()(Code) | | |
hideComponents | public void hideComponents()(Code) | | |
placeClip | public void placeClip(String clipName, JEditorPaneOperator editor, int caretPosition)(Code) | | |
placeClip | public void placeClip(String clipName, JEditorPaneOperator editor)(Code) | | |
showComponents | public void showComponents()(Code) | | |
showPalette | public static void showPalette()(Code) | | TODO: need to be updated
|
|
|