PamView
Class KeyPanel
java.lang.Object
PamView.KeyPanel
- Direct Known Subclasses:
- HistogramDisplay.HistoStatsWindow
public class KeyPanel
- extends java.lang.Object
Class to generate standard panels for plot keys.
Basically, it's a container with a simple
layout that get's a load of other componenets
added to it.
- Author:
- Doug
|
Constructor Summary |
KeyPanel(java.lang.String title,
int keyType)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
title
private java.lang.String title
keyItems
private java.util.ArrayList<PamKeyItem> keyItems
panel
private javax.swing.JPanel panel
titledBorder
private javax.swing.border.TitledBorder titledBorder
keyType
private int keyType
KeyPanel
public KeyPanel(java.lang.String title,
int keyType)
add
public void add(PamKeyItem pamKeyItem)
remove
public void remove(PamKeyItem pamKeyItem)
getPanel
public javax.swing.JPanel getPanel()
createPanel
private void createPanel()
fillPanel
private void fillPanel()
clear
public void clear()
destroy
public void destroy()
getKeyType
public int getKeyType()
setKeyType
public void setKeyType(int keyType)
getTitledBorder
public javax.swing.border.TitledBorder getTitledBorder()