|| | |||Browse by category|
How do I customize the table in the property sheet?
You will need to:
- Subclass the
IlvDiagrammerPropertySheetclass and override the
setTargetmethod. In this method, you will construct the table model and JTable based on the properties of the target object.
- Then, return the custom IlvDiagrammerPropertySheet from step 1 in a call to
- You can also subclass the
AbstractTableModelclasses depending on your criteria.
JTableclass can be extended to create a custom JTable taking a custom AbstractTableModel as a parameter.
- The custom AbstractTableModel can be customized to do many things, such as (among others):
- returning the number of columns
- changing the value of table cells
- making certain cells uneditable
- change the value of the actual table cell
See the attachment for a sample made based on the
Article ID: 2304
Last updated: 30 May, 2018
Posted: 01 Jul, 2010 by Dean J.
Updated: 30 May, 2018 by Gargani A.
kb2304_BPMNModeler.java (14 kb)
Also listed in
Others in this category
Disable movements and other interactions of reservations on an IlvScheduleChart or activities on an IlvGanttChart
When using an IlvLogarithmicAxisTransformer and setting the data range on an IlvAxis, this range is not taken into account
ClassCastException occurs when deploying Web application on the Tomcat server that came with the JViews distribution
Displaying an image map for the title bar area of subgraphs in my JViews Diagrammer JSF Web application
Making a diagram's background transparent to show the HTML page's background image as the background image of the diagram
Change the behavior of the IlvDiagrammerViewBar's zoom buttons to zoom and focus on the selected graphic objects
Globally defining by code a chart property that is not specific to a series, and that is evaluated in the .css
JViews installer is failling on windows with error "Windows error 2 occured while loading the java VM"