public class WebTable extends javax.swing.JTable implements Styleable, Skinnable, Paintable, ShapeProvider, MarginSupport, PaddingSupport, FontMethods<WebTable>, SizeMethods<WebTable>
javax.swing.JTable.AccessibleJTable, javax.swing.JTable.DropLocation, javax.swing.JTable.PrintModejavax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
protected ToolTipProvider<? extends WebTable> |
toolTipProvider
Custom WebLaF tooltip provider.
|
AUTO_RESIZE_ALL_COLUMNS, AUTO_RESIZE_LAST_COLUMN, AUTO_RESIZE_NEXT_COLUMN, AUTO_RESIZE_OFF, AUTO_RESIZE_SUBSEQUENT_COLUMNS, autoCreateColumnsFromModel, autoResizeMode, cellEditor, cellSelectionEnabled, columnModel, dataModel, defaultEditorsByColumnClass, defaultRenderersByColumnClass, editingColumn, editingRow, editorComp, gridColor, preferredViewportSize, rowHeight, rowMargin, rowSelectionAllowed, selectionBackground, selectionForeground, selectionModel, showHorizontalLines, showVerticalLines, tableHeaderlistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTEMPTYEMPTYUNDEFINED| Constructor and Description |
|---|
WebTable() |
WebTable(int numRows,
int numColumns) |
WebTable(java.lang.Object[][] rowData,
java.lang.Object[] columnNames) |
WebTable(StyleId id) |
WebTable(StyleId id,
int numRows,
int numColumns) |
WebTable(StyleId id,
java.lang.Object[][] rowData,
java.lang.Object[] columnNames) |
WebTable(StyleId id,
javax.swing.table.TableModel dm) |
WebTable(StyleId id,
javax.swing.table.TableModel dm,
javax.swing.table.TableColumnModel cm) |
WebTable(StyleId id,
javax.swing.table.TableModel dm,
javax.swing.table.TableColumnModel cm,
javax.swing.ListSelectionModel sm) |
WebTable(StyleId id,
java.util.Vector rowData,
java.util.Vector columnNames) |
WebTable(javax.swing.table.TableModel dm) |
WebTable(javax.swing.table.TableModel dm,
javax.swing.table.TableColumnModel cm) |
WebTable(javax.swing.table.TableModel dm,
javax.swing.table.TableColumnModel cm,
javax.swing.ListSelectionModel sm) |
WebTable(java.util.Vector rowData,
java.util.Vector columnNames) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSelectedColumn(int column) |
void |
addSelectedColumns(int startColumn,
int endColumn) |
void |
addSelectedRow(int row) |
void |
addSelectedRows(int startRow,
int endRow) |
void |
addStyleListener(StyleListener listener)
Adds style change listener.
|
WebTable |
changeFontSize(int change)
Changes font size of the specified component.
|
protected void |
configureScrollPane()
Configures enclosing scroll pane.
|
protected WebTableHeader |
createDefaultTableHeader() |
boolean |
editCellAt(int row,
int column,
java.util.EventObject event) |
Painter |
getCustomPainter()
Returns custom base painter for this component.
|
Painter |
getCustomPainter(java.lang.String id)
Returns custom painter for this component.
|
java.util.Map<java.lang.String,Painter> |
getCustomPainters()
Returns all custom painters for this component.
|
java.lang.String |
getFontName()
Returns component font name.
|
int |
getFontSize()
Returns component font size.
|
java.awt.Insets |
getMargin()
Returns current margin.
|
int |
getMaximumHeight()
Returns component maximum height.
|
int |
getMaximumWidth()
Returns component maximum width.
|
int |
getMinimumHeight()
Returns component minimum height.
|
int |
getMinimumWidth()
Returns component minimum width.
|
protected int |
getOptimalColumnWidth(int column,
boolean processData,
int minWidth,
int maxWidth)
Returns optimal width for the specified table column.
|
java.awt.Insets |
getPadding()
Returns current padding.
|
int |
getPreferredHeight()
Returns component preferred height.
|
java.awt.Dimension |
getPreferredScrollableViewportSize() |
java.awt.Dimension |
getPreferredSize()
Returns component preferred size.
|
int |
getPreferredWidth()
Returns component preferred width.
|
Skin |
getSkin()
Returns skin currently applied to this component.
|
StyleId |
getStyleId()
Returns component style ID.
|
ToolTipProvider<? extends WebTable> |
getToolTipProvider()
Returns custom WebLaF tooltip provider.
|
int |
getVisibleRowCount()
Returns preferred visible row count
|
protected void |
initializeLocalVars() |
boolean |
isBoldFont()
Returns whether component font is bold or not.
|
boolean |
isCellEditable(int row,
int column) |
boolean |
isEditable()
Returns whether or not table is editable.
|
boolean |
isItalicFont()
Returns whether component font is italic or not.
|
boolean |
isPlainFont()
Returns whether component font is plain or not.
|
void |
optimizeColumnWidths()
Optimizes table column widths to fit content.
|
void |
optimizeColumnWidths(boolean processData)
Optimizes table column widths to fit content.
|
void |
optimizeColumnWidths(boolean processData,
int minWidth,
int maxWidth)
Optimizes table column widths to fit content.
|
java.awt.Shape |
provideShape()
Returns component shape.
|
void |
removeStyleListener(StyleListener listener)
Removes style change listener.
|
boolean |
restoreDefaultPainters()
Restores default painters for this component.
|
Skin |
restoreSkin()
Restores global skin for this component and all of its children linked via
StyleId. |
void |
scrollToColumn(int column) |
void |
scrollToRow(int row) |
WebTable |
setBoldFont()
Sets bold font for the component.
|
WebTable |
setBoldFont(boolean apply)
Sets bold font for the component.
|
Painter |
setCustomPainter(Painter painter)
Sets custom base painter for this component.
|
Painter |
setCustomPainter(java.lang.String id,
Painter painter)
Sets custom painter for this component under the specified painter ID.
|
void |
setEditable(boolean editable)
Sets whether or not table is editable.
|
WebTable |
setFontName(java.lang.String fontName)
Sets component font name.
|
WebTable |
setFontSize(int fontSize)
Sets component font size.
|
WebTable |
setFontSizeAndStyle(int fontSize,
boolean bold,
boolean italic)
Sets font size and style for the specified component.
|
WebTable |
setFontSizeAndStyle(int fontSize,
int style)
Sets font size and style for the specified component.
|
WebTable |
setFontStyle(boolean bold,
boolean italic)
Sets component font style.
|
WebTable |
setFontStyle(int style)
Sets component font style.
|
WebTable |
setItalicFont()
Sets italic or plain font for the component.
|
WebTable |
setItalicFont(boolean apply)
Sets italic or plain font for the component.
|
void |
setMargin(java.awt.Insets margin)
Sets new margin.
|
void |
setMargin(int margin)
Sets new margin.
|
void |
setMargin(int top,
int left,
int bottom,
int right)
Sets new margin.
|
WebTable |
setMaximumHeight(int maximumHeight)
Sets component maximum height.
|
WebTable |
setMaximumWidth(int maximumWidth)
Sets component maximum width.
|
WebTable |
setMinimumHeight(int minimumHeight)
Sets component minimum height.
|
WebTable |
setMinimumWidth(int minimumWidth)
Sets component minimum width.
|
void |
setPadding(java.awt.Insets padding)
Sets new padding.
|
void |
setPadding(int padding)
Sets new padding.
|
void |
setPadding(int top,
int left,
int bottom,
int right)
Sets new padding.
|
WebTable |
setPlainFont()
Sets plain font for the component.
|
WebTable |
setPlainFont(boolean apply)
Sets plain font for the component.
|
WebTable |
setPreferredHeight(int preferredHeight)
Sets component preferred height.
|
WebTable |
setPreferredSize(int width,
int height)
Sets component preferred size.
|
WebTable |
setPreferredWidth(int preferredWidth)
Sets component preferred width.
|
void |
setSelectedColumn(int column) |
void |
setSelectedColumn(int column,
boolean scroll) |
void |
setSelectedColumns(int startColumn,
int endColumn) |
void |
setSelectedRow(int row) |
void |
setSelectedRow(int row,
boolean scroll) |
void |
setSelectedRows(int startRow,
int endRow) |
Skin |
setSkin(Skin skin)
Applies specified skin to the specified component and all of its children linked via
StyleId. |
Skin |
setSkin(Skin skin,
boolean recursively)
Applies specified skin to the specified component and all of its children linked via
StyleId. |
StyleId |
setStyleId(StyleId id)
Sets new component style ID.
|
void |
setToolTipProvider(ToolTipProvider<? extends WebTable> provider)
Sets custom WebLaF tooltip provider.
|
void |
setVisibleRowCount(int visibleRowCount)
Sets preferred visible row count.
|
boolean |
stopCellEditing()
Stops cell editing if table is in the middle of it.
|
void |
updateUI()
Installs a Web-UI into this component.
|
addColumn, addColumnSelectionInterval, addNotify, addRowSelectionInterval, changeSelection, clearSelection, columnAdded, columnAtPoint, columnMarginChanged, columnMoved, columnRemoved, columnSelectionChanged, configureEnclosingScrollPane, convertColumnIndexToModel, convertColumnIndexToView, convertRowIndexToModel, convertRowIndexToView, createDefaultColumnModel, createDefaultColumnsFromModel, createDefaultDataModel, createDefaultEditors, createDefaultRenderers, createDefaultSelectionModel, createScrollPaneForTable, doLayout, editCellAt, editingCanceled, editingStopped, getAccessibleContext, getAutoCreateColumnsFromModel, getAutoCreateRowSorter, getAutoResizeMode, getCellEditor, getCellEditor, getCellRect, getCellRenderer, getCellSelectionEnabled, getColumn, getColumnClass, getColumnCount, getColumnModel, getColumnName, getColumnSelectionAllowed, getDefaultEditor, getDefaultRenderer, getDragEnabled, getDropLocation, getDropMode, getEditingColumn, getEditingRow, getEditorComponent, getFillsViewportHeight, getGridColor, getIntercellSpacing, getModel, getPrintable, getRowCount, getRowHeight, getRowHeight, getRowMargin, getRowSelectionAllowed, getRowSorter, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getSelectedColumn, getSelectedColumnCount, getSelectedColumns, getSelectedRow, getSelectedRowCount, getSelectedRows, getSelectionBackground, getSelectionForeground, getSelectionModel, getShowHorizontalLines, getShowVerticalLines, getSurrendersFocusOnKeystroke, getTableHeader, getToolTipText, getUI, getUIClassID, getUpdateSelectionOnSort, getValueAt, isCellSelected, isColumnSelected, isEditing, isRowSelected, moveColumn, paramString, prepareEditor, prepareRenderer, print, print, print, print, print, processKeyBinding, removeColumn, removeColumnSelectionInterval, removeEditor, removeNotify, removeRowSelectionInterval, resizeAndRepaint, rowAtPoint, selectAll, setAutoCreateColumnsFromModel, setAutoCreateRowSorter, setAutoResizeMode, setCellEditor, setCellSelectionEnabled, setColumnModel, setColumnSelectionAllowed, setColumnSelectionInterval, setDefaultEditor, setDefaultRenderer, setDragEnabled, setDropMode, setEditingColumn, setEditingRow, setFillsViewportHeight, setGridColor, setIntercellSpacing, setModel, setPreferredScrollableViewportSize, setRowHeight, setRowHeight, setRowMargin, setRowSelectionAllowed, setRowSelectionInterval, setRowSorter, setSelectionBackground, setSelectionForeground, setSelectionMode, setSelectionModel, setShowGrid, setShowHorizontalLines, setShowVerticalLines, setSurrendersFocusOnKeystroke, setTableHeader, setUI, setUpdateSelectionOnSort, setValueAt, sizeColumnsToFit, sizeColumnsToFit, sorterChanged, tableChanged, unconfigureEnclosingScrollPane, valueChangedaddAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleprotected ToolTipProvider<? extends WebTable> toolTipProvider
public WebTable()
public WebTable(javax.swing.table.TableModel dm)
public WebTable(javax.swing.table.TableModel dm,
javax.swing.table.TableColumnModel cm)
public WebTable(javax.swing.table.TableModel dm,
javax.swing.table.TableColumnModel cm,
javax.swing.ListSelectionModel sm)
public WebTable(int numRows,
int numColumns)
public WebTable(java.util.Vector rowData,
java.util.Vector columnNames)
public WebTable(java.lang.Object[][] rowData,
java.lang.Object[] columnNames)
public WebTable(StyleId id)
public WebTable(StyleId id, javax.swing.table.TableModel dm)
public WebTable(StyleId id, javax.swing.table.TableModel dm, javax.swing.table.TableColumnModel cm)
public WebTable(StyleId id, javax.swing.table.TableModel dm, javax.swing.table.TableColumnModel cm, javax.swing.ListSelectionModel sm)
public WebTable(StyleId id, int numRows, int numColumns)
public WebTable(StyleId id, java.util.Vector rowData, java.util.Vector columnNames)
public WebTable(StyleId id, java.lang.Object[][] rowData, java.lang.Object[] columnNames)
protected WebTableHeader createDefaultTableHeader()
createDefaultTableHeader in class javax.swing.JTablepublic ToolTipProvider<? extends WebTable> getToolTipProvider()
public void setToolTipProvider(ToolTipProvider<? extends WebTable> provider)
provider - custom WebLaF tooltip providerpublic void optimizeColumnWidths()
public void optimizeColumnWidths(boolean processData)
processData - whether or not should take table data into accountpublic void optimizeColumnWidths(boolean processData,
int minWidth,
int maxWidth)
processData - whether or not should take table data into accountminWidth - min column widthmaxWidth - max column widthprotected int getOptimalColumnWidth(int column,
boolean processData,
int minWidth,
int maxWidth)
column - table column indexprocessData - whether or not should take table data into accountminWidth - min column widthmaxWidth - max column widthpublic void setSelectedRow(int row)
public void setSelectedRow(int row,
boolean scroll)
public void addSelectedRow(int row)
public void setSelectedRows(int startRow,
int endRow)
public void addSelectedRows(int startRow,
int endRow)
public void setSelectedColumn(int column)
public void setSelectedColumn(int column,
boolean scroll)
public void addSelectedColumn(int column)
public void setSelectedColumns(int startColumn,
int endColumn)
public void addSelectedColumns(int startColumn,
int endColumn)
public void scrollToRow(int row)
public void scrollToColumn(int column)
public boolean editCellAt(int row,
int column,
java.util.EventObject event)
editCellAt in class javax.swing.JTablepublic boolean stopCellEditing()
public boolean isCellEditable(int row,
int column)
isCellEditable in class javax.swing.JTablepublic boolean isEditable()
public void setEditable(boolean editable)
editable - whether or not table is editablepublic void setVisibleRowCount(int visibleRowCount)
visibleRowCount - preferred visible row countpublic int getVisibleRowCount()
public java.awt.Dimension getPreferredScrollableViewportSize()
getPreferredScrollableViewportSize in interface javax.swing.ScrollablegetPreferredScrollableViewportSize in class javax.swing.JTableprotected void initializeLocalVars()
initializeLocalVars in class javax.swing.JTablepublic StyleId getStyleId()
StyleablegetStyleId in interface Styleablepublic StyleId setStyleId(StyleId id)
StyleablesetStyleId in interface Styleableid - custom component style IDpublic Skin getSkin()
Skinnablepublic Skin setSkin(Skin skin, boolean recursively)
Skinnablepublic Skin restoreSkin()
SkinnableStyleId.
Actual linked children information is stored within StyleData data objects.
Restoring component skin will also include it back into the skin update cycle in case global skin will be changed.restoreSkin in interface Skinnablepublic void addStyleListener(StyleListener listener)
SkinnableaddStyleListener in interface Skinnablelistener - style change listener to addpublic void removeStyleListener(StyleListener listener)
SkinnableremoveStyleListener in interface Skinnablelistener - style change listener to removepublic java.util.Map<java.lang.String,Painter> getCustomPainters()
PaintablegetCustomPainters in interface Paintablepublic Painter getCustomPainter()
PaintablegetCustomPainter in interface Paintablepublic Painter getCustomPainter(java.lang.String id)
PaintablegetCustomPainter in interface Paintableid - painter IDpublic Painter setCustomPainter(Painter painter)
PaintablesetCustomPainter in interface Paintablepainter - custom base painterpublic Painter setCustomPainter(java.lang.String id, Painter painter)
PaintablesetCustomPainter in interface Paintableid - painter IDpainter - painterpublic boolean restoreDefaultPainters()
PaintablerestoreDefaultPainters in interface Paintablepublic java.awt.Shape provideShape()
ShapeProviderprovideShape in interface ShapeProviderpublic java.awt.Insets getMargin()
MarginSupportgetMargin in interface MarginSupportpublic void setMargin(int margin)
margin - new marginpublic void setMargin(int top,
int left,
int bottom,
int right)
top - new top marginleft - new left marginbottom - new bottom marginright - new right marginpublic void setMargin(java.awt.Insets margin)
MarginSupportnull can be provided to set an empty [0,0,0,0] margin.setMargin in interface MarginSupportmargin - new marginpublic java.awt.Insets getPadding()
PaddingSupportgetPadding in interface PaddingSupportpublic void setPadding(int padding)
padding - new paddingpublic void setPadding(int top,
int left,
int bottom,
int right)
top - new top paddingleft - new left paddingbottom - new bottom paddingright - new right paddingpublic void setPadding(java.awt.Insets padding)
PaddingSupportnull can be provided to set an empty [0,0,0,0] padding.setPadding in interface PaddingSupportpadding - new paddingpublic void updateUI()
updateUI in class javax.swing.JTableprotected void configureScrollPane()
public WebTable setPlainFont()
FontMethodssetPlainFont in interface FontMethods<WebTable>public WebTable setPlainFont(boolean apply)
FontMethodssetPlainFont in interface FontMethods<WebTable>apply - whether to apply font changes or notpublic boolean isPlainFont()
FontMethodsisPlainFont in interface FontMethods<WebTable>public WebTable setBoldFont()
FontMethodssetBoldFont in interface FontMethods<WebTable>public WebTable setBoldFont(boolean apply)
FontMethodssetBoldFont in interface FontMethods<WebTable>apply - whether to apply font changes or notpublic boolean isBoldFont()
FontMethodsisBoldFont in interface FontMethods<WebTable>public WebTable setItalicFont()
FontMethodssetItalicFont in interface FontMethods<WebTable>public WebTable setItalicFont(boolean apply)
FontMethodssetItalicFont in interface FontMethods<WebTable>apply - whether to apply font changes or notpublic boolean isItalicFont()
FontMethodsisItalicFont in interface FontMethods<WebTable>public WebTable setFontStyle(boolean bold, boolean italic)
FontMethodssetFontStyle in interface FontMethods<WebTable>bold - whether should set bold font or notitalic - whether should set italic font or notpublic WebTable setFontStyle(int style)
FontMethodssetFontStyle in interface FontMethods<WebTable>style - new stylepublic WebTable setFontSize(int fontSize)
FontMethodssetFontSize in interface FontMethods<WebTable>fontSize - font sizepublic WebTable changeFontSize(int change)
FontMethodschangeFontSize in interface FontMethods<WebTable>change - font size change amountpublic int getFontSize()
FontMethodsgetFontSize in interface FontMethods<WebTable>public WebTable setFontSizeAndStyle(int fontSize, boolean bold, boolean italic)
FontMethodssetFontSizeAndStyle in interface FontMethods<WebTable>fontSize - new font sizebold - whether should set bold font or notitalic - whether should set italic font or notpublic WebTable setFontSizeAndStyle(int fontSize, int style)
FontMethodssetFontSizeAndStyle in interface FontMethods<WebTable>fontSize - new font sizestyle - new stylepublic WebTable setFontName(java.lang.String fontName)
FontMethodssetFontName in interface FontMethods<WebTable>fontName - new font namepublic java.lang.String getFontName()
FontMethodsgetFontName in interface FontMethods<WebTable>public int getPreferredWidth()
SizeMethodsgetPreferredWidth in interface SizeMethods<WebTable>public WebTable setPreferredWidth(int preferredWidth)
SizeMethodsSizeMethods.UNDEFINED to let component choose preferred width on its own.setPreferredWidth in interface SizeMethods<WebTable>preferredWidth - new component preferred widthpublic int getPreferredHeight()
SizeMethodsgetPreferredHeight in interface SizeMethods<WebTable>public WebTable setPreferredHeight(int preferredHeight)
SizeMethodsSizeMethods.UNDEFINED to let component choose preferred height on its own.setPreferredHeight in interface SizeMethods<WebTable>preferredHeight - new component preferred heightpublic int getMinimumWidth()
SizeMethodsgetMinimumWidth in interface SizeMethods<WebTable>public WebTable setMinimumWidth(int minimumWidth)
SizeMethodsSizeMethods.UNDEFINED to let component choose minimum width on its own.setMinimumWidth in interface SizeMethods<WebTable>minimumWidth - new component minimum widthpublic int getMinimumHeight()
SizeMethodsgetMinimumHeight in interface SizeMethods<WebTable>public WebTable setMinimumHeight(int minimumHeight)
SizeMethodsSizeMethods.UNDEFINED to let component choose minimum height on its own.setMinimumHeight in interface SizeMethods<WebTable>minimumHeight - new component minimum heightpublic int getMaximumWidth()
SizeMethodsgetMaximumWidth in interface SizeMethods<WebTable>public WebTable setMaximumWidth(int maximumWidth)
SizeMethodsSizeMethods.UNDEFINED to let component choose maximum width on its own.setMaximumWidth in interface SizeMethods<WebTable>maximumWidth - new component maximum widthpublic int getMaximumHeight()
SizeMethodsgetMaximumHeight in interface SizeMethods<WebTable>public WebTable setMaximumHeight(int maximumHeight)
SizeMethodsSizeMethods.UNDEFINED to let component choose maximum height on its own.setMaximumHeight in interface SizeMethods<WebTable>maximumHeight - new component maximum heightpublic java.awt.Dimension getPreferredSize()
SizeMethodsgetPreferredSize in interface SizeMethods<WebTable>getPreferredSize in class javax.swing.JComponentpublic WebTable setPreferredSize(int width, int height)
SizeMethodssetPreferredSize in interface SizeMethods<WebTable>width - component preferred widthheight - component preferred height