org.virion.jam.controlpanels
Class Controls
java.lang.Object
org.virion.jam.controlpanels.Controls
public class Controls
- extends Object
- Author:
- Andrew Rambaut
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Controls
public Controls(String title,
JPanel panel,
boolean isVisible)
Controls
public Controls(String title,
JPanel panel,
boolean isVisible,
boolean isPinned,
JCheckBox primaryCheckbox)
- Parameters:
title
- panel
- isVisible
- isPinned
- primaryCheckbox
- the "main" on/off toggle, if any.
getTitle
public String getTitle()
getPanel
public JPanel getPanel()
isVisible
public boolean isVisible()
setVisible
public void setVisible(boolean visible)
isPinned
public boolean isPinned()
setPinned
public void setPinned(boolean pinned)
getPrimaryCheckbox
public JCheckBox getPrimaryCheckbox()