Package jaxe
Class JaxeTableView
- All Implemented Interfaces:
SwingConstants
,ViewFactory
Vue pour les tables de JETableTexte
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.text.TableView
TableView.TableCell, TableView.TableRow
-
Field Summary
Fields inherited from class javax.swing.text.View
BadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXIS
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SizeRequirements
calculateMajorAxisRequirements
(int axis, SizeRequirements r) The table itself acts as a factory for the various views that actually represent pieces of the table.protected View
getViewAtPoint
(int x, int y, Rectangle alloc) void
void
Methods inherited from class javax.swing.text.TableView
calculateMinorAxisRequirements, createTableCell, createTableRow, forwardUpdate, getViewAtPosition, layoutColumns, layoutMinorAxis, replace
Methods inherited from class javax.swing.text.BoxView
baselineLayout, baselineRequirements, childAllocation, flipEastAndWestAtEnds, getAlignment, getAxis, getChildAllocation, getHeight, getMaximumSpan, getMinimumSpan, getOffset, getPreferredSpan, getResizeWeight, getSpan, getWidth, isAfter, isAllocationValid, isBefore, isLayoutValid, layout, layoutChanged, layoutMajorAxis, modelToView, paintChild, preferenceChanged, setAxis, setSize, viewToModel
Methods inherited from class javax.swing.text.CompositeView
getBottomInset, getInsideAllocation, getLeftInset, getNextEastWestVisualPositionFrom, getNextNorthSouthVisualPositionFrom, getNextVisualPositionFrom, getRightInset, getTopInset, getView, getViewCount, getViewIndex, getViewIndexAtPosition, loadChildren, modelToView, setInsets, setParagraphInsets
Methods inherited from class javax.swing.text.View
append, breakView, changedUpdate, createFragment, forwardUpdateToView, getAttributes, getBreakWeight, getContainer, getDocument, getElement, getEndOffset, getGraphics, getParent, getStartOffset, getToolTipText, getViewIndex, insert, insertUpdate, isVisible, modelToView, remove, removeAll, removeUpdate, updateChildren, updateLayout, viewToModel
-
Constructor Details
-
JaxeTableView
-
-
Method Details
-
paint
-
getViewFactory
- Overrides:
getViewFactory
in classView
-
getViewAtPoint
- Overrides:
getViewAtPoint
in classBoxView
-
create
The table itself acts as a factory for the various views that actually represent pieces of the table. All other factory activity is delegated to the factory returned by the parent of the table.- Specified by:
create
in interfaceViewFactory
-
calculateMajorAxisRequirements
- Overrides:
calculateMajorAxisRequirements
in classBoxView
-
setParent
- Overrides:
setParent
in classCompositeView
-