📄 parameter.java
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space
// Source File Name: Parameter.java
package org.gudy.azureus2.ui.swt.config;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.swt.widgets.Control;
import org.gudy.azureus2.core3.util.AEMonitor;
// Referenced classes of package org.gudy.azureus2.ui.swt.config:
// ConfigParameterAdapter, IParameter, ParameterChangeListener
public abstract class Parameter
implements IParameter
{
protected ConfigParameterAdapter config_adapter;
protected List change_listeners;
private static AEMonitor class_mon = new AEMonitor("Parameter:class");
public Parameter(String sConfigID)
{
config_adapter = new ConfigParameterAdapter(this, sConfigID);
}
public boolean isInitialised()
{
return true;
}
public Control[] getControls()
{
return (new Control[] {
getControl()
});
}
public void addChangeListener(ParameterChangeListener l)
{
class_mon.enter();
if (change_listeners == null)
change_listeners = new ArrayList(1);
change_listeners.add(l);
class_mon.exit();
break MISSING_BLOCK_LABEL_54;
Exception exception;
exception;
class_mon.exit();
throw exception;
}
public void removeChangeListener(ParameterChangeListener l)
{
class_mon.enter();
change_listeners.remove(l);
class_mon.exit();
break MISSING_BLOCK_LABEL_35;
Exception exception;
exception;
class_mon.exit();
throw exception;
}
public boolean isDisposed()
{
return getControl().isDisposed();
}
public abstract void setValue(Object obj);
public Object getValueObject()
{
return null;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -