| Revision 94,
559 bytes
checked in by bmcguffin, 9 years ago
(diff) |
|
Minor cosmetic changes.
|
| Line | |
|---|
| 1 | package event.editor.frame; |
|---|
| 2 | |
|---|
| 3 | import javax.swing.JPanel; |
|---|
| 4 | |
|---|
| 5 | /** |
|---|
| 6 | * |
|---|
| 7 | * @author Bryan McGuffin |
|---|
| 8 | */ |
|---|
| 9 | public class PropertyPanel |
|---|
| 10 | { |
|---|
| 11 | |
|---|
| 12 | private final JPanel panel; |
|---|
| 13 | private final Properties property; |
|---|
| 14 | |
|---|
| 15 | public PropertyPanel(JPanel thePanel, |
|---|
| 16 | Properties theProperty) |
|---|
| 17 | { |
|---|
| 18 | panel = thePanel; |
|---|
| 19 | property = theProperty; |
|---|
| 20 | } |
|---|
| 21 | |
|---|
| 22 | public JPanel getPanel() |
|---|
| 23 | { |
|---|
| 24 | return panel; |
|---|
| 25 | } |
|---|
| 26 | |
|---|
| 27 | public Properties getProperty() |
|---|
| 28 | { |
|---|
| 29 | return property; |
|---|
| 30 | } |
|---|
| 31 | |
|---|
| 32 | public String title() |
|---|
| 33 | { |
|---|
| 34 | return property.getTitle(); |
|---|
| 35 | } |
|---|
| 36 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.