org.tm4j.tmnav.renderer.section .GridBagPanel
Description
This class implements a Panel which serves as the basic visual building block of the section renderer. The panel displays key-value pairs in rows. The value-section of each row may contain more than one value. Keys may be specified as AMMembers or as simple Strings. Values are always specified as AMMembers. Every row optionally displays a link to an association
Inheritance Hierarchy
- javax.swing.JPanel
- GridBagPanel
Field Summary | |
---|---|
defaultLabelWidth |
Method Summary | |
---|---|
void |
addRow(java.lang.String label,java.lang.String value)
Adds a row with a text-based, not clickable label and a text-based, not
clickable value.
|
void |
addRow(java.lang.String label,org.tm4j.panckoucke.model.AMMember value,org.tm4j.panckoucke.model.AMMember showAssociation)
Adds a row with a text-based, not clickable Label,
and a Member that will be displayed as the value under that label.
|
void |
addRow(java.lang.String label,org.tm4j.panckoucke.model.AMMember[] value,org.tm4j.panckoucke.model.AMMember showAssociation)
Adds a row with a text-based, not clickable label and multiple Members
to be displayed under that label
|
void |
addRow(org.tm4j.panckoucke.model.AMMember label,org.tm4j.panckoucke.model.AMMember value,org.tm4j.panckoucke.model.AMMember showAssociation)
Adds a row with a Member that serves as the Label,
and a second Member that will be displayed as the value under that label.
|
void |
addRow(org.tm4j.panckoucke.model.AMMember label,org.tm4j.panckoucke.model.AMMember[] value,org.tm4j.panckoucke.model.AMMember showAssociation)
Adds a row with one Member which serves as the Label,
and multiple Members that will be displayed under that label.
|
java.awt.Dimension |
getMaximumSize()
Overrides the super-implementation in order to
control horizontal and vertical growth
|
void |
reset()
This Method should be called, before a new set of information
shall be displayed in this panel
Removes all Components from this container.
|
Related Topics
Imports
Is Contained By