public class TimeFrameDescriptor extends SettingDescriptor
Constructor and Description |
---|
TimeFrameDescriptor(java.lang.String name,
java.lang.String label,
int startTime,
int endTime,
boolean enabled,
boolean supportsDisable) |
Modifier and Type | Method and Description |
---|---|
javax.swing.JComponent |
createInput(Settings settings,
boolean readOnly)
Creates the component that will accept the user input.
|
TimeFrame |
getDefaultValue()
Gets the default value for this setting.
|
int |
getEndTime() |
int |
getStartTime() |
getGridWidth, getLabel, getName, isAllowUserDefaults, isDisplaySetting, isEnabled, isShowLabel, isSupportsDisable, setAllowUserDefaults, setDefaultValue, setEnabled, setGridWidth, setShowLabel, setSupportsDisable
public TimeFrameDescriptor(java.lang.String name, java.lang.String label, int startTime, int endTime, boolean enabled, boolean supportsDisable)
public TimeFrame getDefaultValue()
SettingDescriptor
getDefaultValue
in class SettingDescriptor
public javax.swing.JComponent createInput(Settings settings, boolean readOnly)
SettingDescriptor
createInput
in class SettingDescriptor
settings
- settings for the studyreadOnly
- true if the component should not accept user inputpublic int getStartTime()
public int getEndTime()