|
Oxygen XML Editor 11.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Dialog javax.swing.JDialog ro.sync.ecss.extensions.commons.ui.OKCancelDialog ro.sync.ecss.extensions.commons.table.operations.SATableCustomizerDialog
public abstract class SATableCustomizerDialog
Dialog used to customize the insertion of a table (number of rows, columns, table caption). It is used on standalone implementation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JDialog |
---|
JDialog.AccessibleJDialog |
Nested classes/interfaces inherited from class java.awt.Dialog |
---|
Dialog.AccessibleAWTDialog |
Nested classes/interfaces inherited from class java.awt.Window |
---|
Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Nested classes/interfaces inherited from interface ro.sync.ecss.extensions.commons.table.operations.TableCustomizerConstants |
---|
TableCustomizerConstants.ColumnWidthsType |
Field Summary |
---|
Fields inherited from class ro.sync.ecss.extensions.commons.ui.OKCancelDialog |
---|
RESULT_CANCEL, RESULT_OK |
Fields inherited from class javax.swing.JDialog |
---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface ro.sync.ecss.extensions.commons.table.operations.TableCustomizerConstants |
---|
CALS_WIDTHS_SPECIFICATIONS, COLS_DYNAMIC, COLS_FIXED, COLS_PROPORTIONAL, FRAME_ABOVE, FRAME_ALL, FRAME_BELLOW, FRAME_BORDER, FRAME_BOTTOM, FRAME_BOX, FRAME_HSIDES, FRAME_LHS, FRAME_NONE, FRAME_RHS, FRAME_SIDES, FRAME_TOP, FRAME_TOPBOT, FRAME_VOID, FRAME_VSIDES, HTML_WIDTHS_SPECIFICATIONS, SIMPLE_WIDTHS_SPECIFICATIONS |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
SATableCustomizerDialog(JFrame parentFrame,
boolean hasFooter,
boolean hasFrameAttribute,
boolean showModelChooser)
Constructor. |
|
SATableCustomizerDialog(JFrame parentFrame,
boolean hasFooter,
boolean hasFrameAttribute,
boolean showModelChooser,
boolean simpleTableModel)
Constructor. |
Method Summary | |
---|---|
protected abstract JCheckBox |
createTitleCheckbox()
Creates the title checkbox with an implementation specific name. |
protected abstract TableCustomizerConstants.ColumnWidthsType[] |
getColumnWidthsSpecifications(int tableModel)
Compute the possible values for the column widths specifications. |
protected abstract String[] |
getFrameValues(int tableModel)
Compute the possible values for the frame attribute. |
TableInfo |
showDialog()
Show the dialog to customize the table attributes. |
protected void |
updateColumnsWidthsCombo(TableCustomizerConstants.ColumnWidthsType[] columnsWidthsSpecifications)
|
Methods inherited from class ro.sync.ecss.extensions.commons.ui.OKCancelDialog |
---|
doCancel, doOK, getContentPane, getResult, setCancelButtonText, setOkButtonText |
Methods inherited from class java.awt.Dialog |
---|
addNotify, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SATableCustomizerDialog(JFrame parentFrame, boolean hasFooter, boolean hasFrameAttribute, boolean showModelChooser)
parentFrame
- The parent JFrame
of the dialog.hasFooter
- If this table has a footer.hasFrameAttribute
- If true
the table has a frame attribute.showModelChooser
- If true
then show the dialog panel for choosing the table
model, one of CALS or HTML.public SATableCustomizerDialog(JFrame parentFrame, boolean hasFooter, boolean hasFrameAttribute, boolean showModelChooser, boolean simpleTableModel)
parentFrame
- The parent JFrame
of the dialog.hasFooter
- If this table has a footer.hasFrameAttribute
- If true
the table has a frame attribute.showModelChooser
- If true
then show the dialog panel for choosing the table
model, one of CALS or HTML.simpleTableModel
- If true
then use the
simple table model instead of the HTML model.Method Detail |
---|
protected void updateColumnsWidthsCombo(TableCustomizerConstants.ColumnWidthsType[] columnsWidthsSpecifications)
columnsWidthsSpecifications
- The column widths specifications.protected abstract String[] getFrameValues(int tableModel)
frame
attribute.
tableModel
- The table model.
One of the constants:
TableInfo.TABLE_MODEL_CALS
, TableInfo.TABLE_MODEL_CUSTOM
,
TableInfo.TABLE_MODEL_DITA_SIMPLE
, TableInfo.TABLE_MODEL_HTML
.
frame
attribute.protected abstract TableCustomizerConstants.ColumnWidthsType[] getColumnWidthsSpecifications(int tableModel)
tableModel
- The table model.
One of the constants:
TableInfo.TABLE_MODEL_CALS
, TableInfo.TABLE_MODEL_CUSTOM
,
TableInfo.TABLE_MODEL_DITA_SIMPLE
, TableInfo.TABLE_MODEL_HTML
.
protected abstract JCheckBox createTitleCheckbox()
public TableInfo showDialog()
TableInfo
object with informations about the table
to be inserted.
If null
then the user canceled the table insertion.
|
Oxygen XML Editor 11.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |