| java.lang.Object net.xoetrope.builder.editor.XPaletteComponentFactory
XPaletteComponentFactory | public class XPaletteComponentFactory (Code) | | For creating rows within the PropertyEditor and the StyleEditor
Copyright: Copyright (c) Xoetrope Ltd., 1998-2003
$Revision: 1.1 $
|
Method Summary | |
public static JComboBox | addComboProperty(String propertyName, int selIdx, String[] values, Container page, ItemListener ilistener) | public static JLabel | addLabelProperty(String propertyName, JComponent parent, String action, ActionListener aListener, boolean addButton) | public static JTextField | addProperty(String propertyName, String content, boolean optional, JComponent parent, ActionListener alistener, int width) | public static void | addSpacer(String title, Container page) |
XPaletteComponentFactory | public XPaletteComponentFactory()(Code) | | |
addComboProperty | public static JComboBox addComboProperty(String propertyName, int selIdx, String[] values, Container page, ItemListener ilistener)(Code) | | Adds a combo field and a label to the toolbar for the named property
Parameters: propertyName - the property name/label Parameters: selIdx - the index of the selected item in the dropdown Parameters: values - the dropdown list's values Parameters: page - the XPage to get the componentFactory from Parameters: ilistener - the ItemListener which will be added to the combobox the edit field for the property |
addLabelProperty | public static JLabel addLabelProperty(String propertyName, JComponent parent, String action, ActionListener aListener, boolean addButton)(Code) | | Parameters: propertyName - the name of the property to add Parameters: parent - The component to which to add the newly created component. Parameters: action - The String to set as the action command Parameters: aListener - The ActionListener to add to the component Parameters: width - The width of the new component Parameters: btnoffset - The horizontal offset at which to position the component the newly created XLabel |
addSpacer | public static void addSpacer(String title, Container page)(Code) | | Adds a edit field and a label to the toolbar for the named property
Parameters: title - the property name/label the edit field for the property |
|
|