Methods Summary |
---|
public void | actionPerformed(java.awt.event.ActionEvent ae)
if (textComp != null) {
setBitRate(textComp.getIntValue());
}
|
public int | getBitRate()
return value;
|
public java.awt.Component | getControlComponent()
if (textComp == null) {
textComp = new TextComp(getName(), Integer.toString(value),
7, settable);
textComp.setActionListener(this);
}
return textComp;
|
public int | getMaxSupportedBitRate()
return max;
|
public int | getMinSupportedBitRate()
return min;
|
protected java.lang.String | getName()
return "Bit Rate";
|
public int | setBitRate(int newValue)
if (settable) {
if (newValue < min)
newValue = min;
if (newValue > max)
newValue = max;
// if (newValue != value) {
value = newValue;
if (textComp != null)
textComp.setValue(Integer.toString(newValue));
// }
return value;
} else
return -1;
|