| com.sun.rave.designtime.markup.MarkupTableDesignInfo
All known Subclasses: org.netbeans.modules.visualweb.xhtml.TableDesignInfo, org.netbeans.modules.visualweb.web.ui.dt.component.TableDesignInfo,
MarkupTableDesignInfo | public interface MarkupTableDesignInfo extends DesignInfo(Code) | | Implement this interface to make a DesignInfo for a markup table
component that wishes to surface resizable row and/or column
functionality.
|
Method Summary | |
public Result | clearColumnSize(MarkupDesignBean mdBean, int column) | public Result | clearRowSize(MarkupDesignBean mdBean, int row) Clears the manual sizing constraints of a row. | public Result | resizeColumn(MarkupDesignBean mdBean, int column, int width) | public Result | resizeRow(MarkupDesignBean mdBean, int row, int height) Performs the resizing of a row. | public int | testResizeColumn(MarkupDesignBean mdBean, int row, int column, int width) | public int | testResizeRow(MarkupDesignBean mdBean, int row, int column, int height) Tests resizing a row and provides the user with visual feedback.
The row and column parameters are absolute zero-based meaning
they ignore colspan and rowspan attribute settings. |
clearRowSize | public Result clearRowSize(MarkupDesignBean mdBean, int row)(Code) | | Clears the manual sizing constraints of a row. This is expected
to manipulate some properties of the passed MarkupDesignBean
(tree) to produce the desired markup. The row parameter is
absolute zero-based meaning they ignores rowspan attribute
settings.
|
resizeRow | public Result resizeRow(MarkupDesignBean mdBean, int row, int height)(Code) | | Performs the resizing of a row. This is expected to manipulate
some properties of the passed MarkupDesignBean (tree) to produce
the desired markup. The row parameters is absolute zero-based
meaning it ignores rowspan attribute settings.
|
testResizeRow | public int testResizeRow(MarkupDesignBean mdBean, int row, int column, int height)(Code) | | Tests resizing a row and provides the user with visual feedback.
The row and column parameters are absolute zero-based meaning
they ignore colspan and rowspan attribute settings. The return
value is the *actual* height the table will snap to based on
internal constraints in the component. This is used to provide
visual feedback for the user to see what their drag operation
will produce. Return -1 to indicate a non-resizable row.
|
|
|