| java.lang.Object org.netbeans.modules.visualweb.web.ui.dt.AbstractDesignInfo org.netbeans.modules.visualweb.web.ui.dt.component.TableDesignInfo
TableDesignInfo | public class TableDesignInfo extends AbstractDesignInfo implements MarkupTableDesignInfo(Code) | | DesignInfo for the Table component. The following behavior is
implemented:
- Upon component creation, pre-populate with one Table Row group.
author: Winston Prakash |
Method Summary | |
public boolean | acceptChild(DesignBean parentBean, DesignBean childBean, Class childClass) | public boolean | acceptLink(DesignBean targetBean, DesignBean sourceBean, Class sourceClass) | public Result | beanCreatedSetup(DesignBean tableBean) Create TableDesignState with the table bean and a TableRowGroup and save it as source bean and
then save the state of TableDesignState which in turn would fill the TableRowRroup with default
data. | public Result | beanDeletedCleanup(DesignBean bean) | public Result | beanPastedSetup(DesignBean tableBean) Find if the row group of the pasted table is bound to default model. | public Result | clearColumnSize(MarkupDesignBean mdBean, int column) | public Result | clearRowSize(MarkupDesignBean mdBean, int row) | public DisplayAction[] | getContextItems(DesignBean bean) | public DisplayActionSet | getContextItemsExt(DesignBean bean) | public Result | linkBeans(DesignBean targetBean, DesignBean sourceBean) If the child bean is a TableDataProvider create TableDesignState with the target bean
and set TableDataProvider as source bean and then save its state which in turn would create
corresponding TableRowRroup and fill it with data from the TableDataProvider. | public Result | resizeColumn(MarkupDesignBean tableBean, int colNo, int columnWidth) | public Result | resizeRow(MarkupDesignBean mdBean, int row, int height) | public int | testResizeColumn(MarkupDesignBean mdBean, int row, int column, int width) | public int | testResizeRow(MarkupDesignBean mdBean, int row, int column, int height) |
TableDesignInfo | public TableDesignInfo()(Code) | | |
acceptLink | public boolean acceptLink(DesignBean targetBean, DesignBean sourceBean, Class sourceClass)(Code) | | Accept only Reult Set (may be not required in future) or TableDataProvider as links
|
beanCreatedSetup | public Result beanCreatedSetup(DesignBean tableBean)(Code) | | Create TableDesignState with the table bean and a TableRowGroup and save it as source bean and
then save the state of TableDesignState which in turn would fill the TableRowRroup with default
data.
|
beanPastedSetup | public Result beanPastedSetup(DesignBean tableBean)(Code) | | Find if the row group of the pasted table is bound to default model.
If the model doesn't exist recreate it.
Parameters: bean - The bean that has been pasted |
linkBeans | public Result linkBeans(DesignBean targetBean, DesignBean sourceBean)(Code) | | If the child bean is a TableDataProvider create TableDesignState with the target bean
and set TableDataProvider as source bean and then save its state which in turn would create
corresponding TableRowRroup and fill it with data from the TableDataProvider.
|
Fields inherited from org.netbeans.modules.visualweb.web.ui.dt.AbstractDesignInfo | final public static String DECORATION_ICON(Code)(Java Doc)
|
Methods inherited from org.netbeans.modules.visualweb.web.ui.dt.AbstractDesignInfo | public boolean acceptChild(DesignBean parentBean, DesignBean childBean, Class childClass)(Code)(Java Doc) public boolean acceptLink(DesignBean targetBean, DesignBean sourceBean, Class sourceClass)(Code)(Java Doc) public boolean acceptParent(DesignBean parentBean, DesignBean childBean, Class childClass)(Code)(Java Doc) public void beanChanged(DesignBean bean)(Code)(Java Doc) public void beanContextActivated(DesignBean bean)(Code)(Java Doc) public void beanContextDeactivated(DesignBean bean)(Code)(Java Doc) public Result beanCreatedSetup(DesignBean bean)(Code)(Java Doc) public Result beanDeletedCleanup(DesignBean bean)(Code)(Java Doc) public Result beanPastedSetup(DesignBean bean)(Code)(Java Doc) public void deleteConverter(DesignBean designBean)(Code)(Java Doc) public void eventChanged(DesignEvent event)(Code)(Java Doc) public Class getBeanClass()(Code)(Java Doc) protected BeanDescriptor getBeanDescriptor()(Code)(Java Doc) protected BeanInfo getBeanInfo() throws IntrospectionException(Code)(Java Doc) public DisplayAction[] getContextItems(DesignBean bean)(Code)(Java Doc) public DisplayActionSet getContextItemsExt(DesignBean bean)(Code)(Java Doc) protected static DesignBean getConverterBean(DesignBean designBean)(Code)(Java Doc) protected static DesignBean getConverterBean(FacesDesignContext context, String expression)(Code)(Java Doc) public static Class getConverterClass(Class type)(Code)(Java Doc) protected static String getConverterName(DesignBean designBean)(Code)(Java Doc) protected DesignProperty getDefaultBindingProperty(DesignBean targetBean)(Code)(Java Doc) protected PropertyDescriptor getPropertyDescriptor(String name)(Code)(Java Doc) protected PropertyDescriptor[] getPropertyDescriptors()(Code)(Java Doc) public void instanceNameChanged(DesignBean bean, String oldInstanceName)(Code)(Java Doc) protected static boolean isSunWebUIContext(DesignBean bean)(Code)(Java Doc) public Result linkBeans(DesignBean targetBean, DesignBean sourceBean)(Code)(Java Doc) public Result linkDataProviderToListSelector(FacesDesignProperty property, DesignBean dataBean)(Code)(Java Doc) public Result linkDataProviderToSingleton(FacesDesignProperty property, DesignBean dataBean)(Code)(Java Doc) public Result linkDataProviderToStringListSelector(FacesDesignProperty property, DesignBean dataBean)(Code)(Java Doc) public void modifyConverter(DesignProperty property)(Code)(Java Doc) public void propertyChanged(DesignProperty property, Object oldValue)(Code)(Java Doc)
|
|
|