📄 pluginintparameter.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: PluginIntParameter.java
package org.gudy.azureus2.ui.swt.config.plugins;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.*;
import org.gudy.azureus2.pluginsimpl.local.ui.config.IntParameterImpl;
import org.gudy.azureus2.ui.swt.Messages;
import org.gudy.azureus2.ui.swt.config.IntParameter;
// Referenced classes of package org.gudy.azureus2.ui.swt.config.plugins:
// PluginParameterImpl
public class PluginIntParameter
implements PluginParameterImpl
{
Control controls[];
public PluginIntParameter(Composite pluginGroup, IntParameterImpl parameter)
{
controls = new Control[2];
controls[0] = new Label(pluginGroup, 0);
Messages.setLanguageText(controls[0], parameter.getLabelKey());
IntParameter ip = new IntParameter(pluginGroup, parameter.getKey(), parameter.getDefaultValue());
controls[1] = ip.getControl();
GridData gridData = new GridData();
gridData.widthHint = 100;
controls[1].setLayoutData(gridData);
new Label(pluginGroup, 0);
}
public Control[] getControls()
{
return controls;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -