本文整理汇总了Java中com.l2fprod.common.beans.ExtendedPropertyDescriptor.setShortDescription方法的典型用法代码示例。如果您正苦于以下问题:Java ExtendedPropertyDescriptor.setShortDescription方法的具体用法?Java ExtendedPropertyDescriptor.setShortDescription怎么用?Java ExtendedPropertyDescriptor.setShortDescription使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.l2fprod.common.beans.ExtendedPropertyDescriptor
的用法示例。
在下文中一共展示了ExtendedPropertyDescriptor.setShortDescription方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: DefaultNodePainterBeanInfo
import com.l2fprod.common.beans.ExtendedPropertyDescriptor; //导入方法依赖的package包/类
public DefaultNodePainterBeanInfo()
{
super(DefaultNodePainter.class);
addProperty("color").setShortDescription("FNode's foreground color.");
addProperty("borderColor").setShortDescription("FNode's border color.");
ExtendedPropertyDescriptor e = addProperty("lineType");
e.setShortDescription("FNode's line type.");
e.setPropertyEditorClass(LineTypeEditor.class);
e.setPropertyTableRendererClass(LineTypeEditor.CellRenderer.class);
e = addProperty("shape");
e.setShortDescription("FNode's shape.");
e.setPropertyEditorClass(ShapeEditor.class);
e.setPropertyTableRendererClass(ShapeEditor.CellRenderer.class);
addProperty("label").setShortDescription("FNode's label text.");
addProperty("labelColor").setShortDescription("FNode's label color.");
addProperty("tooltip").setShortDescription("FNode's tooltip.");
e = addProperty("font");
e.setShortDescription("FNode's font.");
e.setPropertyEditorClass(FontEditor.class);
e.setPropertyTableRendererClass(FontEditor.CellRenderer.class);
addProperty("height").setShortDescription("FNode's height.");
addProperty("width").setShortDescription("FNode's width.");
}
示例2: createWaterOptions
import com.l2fprod.common.beans.ExtendedPropertyDescriptor; //导入方法依赖的package包/类
private void createWaterOptions() {
ExtendedPropertyDescriptor waterColorProperty = addProperty("waterColor").setCategory(CATEGORY_WATER);
waterColorProperty.setDisplayName("Color");
waterColorProperty.setShortDescription("color for water");
ExtendedPropertyDescriptor waterTintProperty = addProperty("waterTint").setCategory(CATEGORY_WATER);
waterTintProperty.setDisplayName("Tint");
ExtendedPropertyDescriptor waterWaveStrengthProperty = addProperty("waterWaveStrength").setCategory(CATEGORY_WATER);
waterWaveStrengthProperty.setDisplayName("Wave strength");
waterWaveStrengthProperty.setShortDescription("Water wave strength");
ExtendedPropertyDescriptor waterElevationProperty = addProperty("waterElevation").setCategory(CATEGORY_WATER);
waterElevationProperty.setDisplayName("Elevation");
waterElevationProperty.setShortDescription("Elevation for reflection and refraction, only one for whole level");
ExtendedPropertyDescriptor waterDisplacementTilingProperty = addProperty("waterDisplacementTiling").setCategory(CATEGORY_WATER);
waterDisplacementTilingProperty.setDisplayName("Displacement tiling");
ExtendedPropertyDescriptor waterSpeedProperty = addProperty("waterSpeed").setCategory(CATEGORY_WATER);
waterSpeedProperty.setDisplayName("Speed");
ExtendedPropertyDescriptor waterRefractiveFactorProperty = addProperty("waterRefractiveFactor").setCategory(CATEGORY_WATER);
waterRefractiveFactorProperty.setDisplayName("Refraction factor");
}
示例3: MaskOutBeanBeanInfo
import com.l2fprod.common.beans.ExtendedPropertyDescriptor; //导入方法依赖的package包/类
public MaskOutBeanBeanInfo() {
super(MaskOut.MaskOutBean.class);
ExtendedPropertyDescriptor e = addProperty("maskLayer");
e.setCategory("General").setPropertyEditorClass(MaskOut.LayerNameEditor.class);
e.setDisplayName("Layer Name");
e.setShortDescription("The name of the layers can be used as maskout");
e = addProperty("mask");
e.setCategory("General").setDisplayName("Is Maskout");
}
示例4: LayoutLegendBeanBeanInfo
import com.l2fprod.common.beans.ExtendedPropertyDescriptor; //导入方法依赖的package包/类
public LayoutLegendBeanBeanInfo() {
super(LayoutLegendBean.class);
ExtendedPropertyDescriptor e = addProperty("layerName");
e.setCategory("General").setPropertyEditorClass(LayerNameEditor.class);
e.setDisplayName("Layer Name");
e.setShortDescription("The name of the layer of this legend");
e = addProperty("layerUpdateType");
e.setCategory("General").setDisplayName("Layer Update Type");
e.setPropertyEditorClass(LayerUpdateTypeEditor.class);
e = addProperty("legendStyle");
e.setCategory("General").setDisplayName("Legend Style");
e.setPropertyEditorClass(LegendStyleEditor.class);
addProperty("title").setCategory("General").setDisplayName("Title");
addProperty("font").setCategory("General").setDisplayName("Font");
addProperty("drawBackColor").setCategory("General").setDisplayName("Draw Background");
addProperty("backColor").setCategory("General").setDisplayName("Background");
addProperty("foreColor").setCategory("General").setDisplayName("Foreground");
addProperty("columnNumber").setCategory("General").setDisplayName("Column Number");
addProperty("forceDrawOutline").setCategory("General").setDisplayName("Force Draw Outline");
addProperty("drawNeatLine").setCategory("Neat Line").setDisplayName("Draw Neat Line");
addProperty("neatLineColor").setCategory("Neat Line").setDisplayName("Neat Line Color");
addProperty("neatLineSize").setCategory("Neat Line").setDisplayName("Neat Line Size");
addProperty("drawChartBreaks").setCategory("Chart").setDisplayName("Draw Chart Breaks");
//addProperty("drawPieLabel").setCategory("Chart").setDisplayName("Draw Pie label");
addProperty("left").setCategory("Location").setDisplayName("Left");
addProperty("top").setCategory("Location").setDisplayName("Top");
addProperty("width").setCategory("Location").setDisplayName("Width");
addProperty("height").setCategory("Location").setDisplayName("Height");
//addProperty("barWidth").setCategory("ColorBar").setDisplayName("Bar Width");
}
示例5: DefaultEdgePainterBeanInfo
import com.l2fprod.common.beans.ExtendedPropertyDescriptor; //导入方法依赖的package包/类
public DefaultEdgePainterBeanInfo()
{
super(DefaultEdgePainter.class);
addProperty("color").setShortDescription("FEdge's line color.");
ExtendedPropertyDescriptor e = addProperty("lineType");
e.setShortDescription("FEdge's line type.");
e.setPropertyEditorClass(LineTypeEditor.class);
e.setPropertyTableRendererClass(LineTypeEditor.CellRenderer.class);
e = addProperty("srcArrow");
e.setShortDescription("FEdge's Source Arrow.");
e.setPropertyEditorClass(ArrowEditor.class);
e.setPropertyTableRendererClass(ArrowEditor.CellRenderer.class);
e = addProperty("tgtArrow");
e.setShortDescription("FEdge's Target Arrow.");
e.setPropertyEditorClass(ArrowEditor.class);
e.setPropertyTableRendererClass(ArrowEditor.CellRenderer.class);
addProperty("label").setShortDescription("FEdge's label text.");
addProperty("labelColor").setShortDescription("FEdge's label color.");
addProperty("tooltip").setShortDescription("FEdge's tooltip.");
e = addProperty("font");
e.setShortDescription("FEdge's font.");
e.setPropertyEditorClass(FontEditor.class);
e.setPropertyTableRendererClass(FontEditor.CellRenderer.class);
}
示例6: createLightingOptions
import com.l2fprod.common.beans.ExtendedPropertyDescriptor; //导入方法依赖的package包/类
private void createLightingOptions() {
ExtendedPropertyDescriptor ambientLightColorProperty = addProperty("ambientLight").setCategory(CATEGORY_LIGHTING);
ambientLightColorProperty.setDisplayName("Ambient Light Color");
ambientLightColorProperty.setShortDescription("color for ambient light");
ExtendedPropertyDescriptor sunLightColor = addProperty("sunLightColor").setCategory(CATEGORY_LIGHTING);
sunLightColor.setDisplayName("Sun Light Color");
sunLightColor.setShortDescription("color for sun light");
}
示例7: createLevelOptions
import com.l2fprod.common.beans.ExtendedPropertyDescriptor; //导入方法依赖的package包/类
private void createLevelOptions() {
ExtendedPropertyDescriptor tilesetProperty = addProperty("title").setCategory(CATEGORY_LEVEL);
tilesetProperty.setDisplayName("Title");
tilesetProperty.setShortDescription("Map title for editor");
ExtendedPropertyDescriptor fogProperty = addProperty("fogColor").setCategory(CATEGORY_LEVEL);
fogProperty.setDisplayName("Fog & sky color");
fogProperty.setShortDescription("Color of the fog and sky");
}
示例8: createWindOptions
import com.l2fprod.common.beans.ExtendedPropertyDescriptor; //导入方法依赖的package包/类
private void createWindOptions() {
ExtendedPropertyDescriptor foliageSpeed = addProperty("windSpeed").setCategory(CATEGORY_WIND);
foliageSpeed.setDisplayName("Speed");
foliageSpeed.setShortDescription("Wind speed and direction");
}