Package org.dyno.visual.swing.base

Examples of org.dyno.visual.swing.base.FieldProperty


    return "EtchedBorder";
  }

 
  protected IWidgetPropertyDescriptor[] getBorderProperties() {
    FieldProperty etchTypeProperty = new FieldProperty("etchType", "etchType", EtchedBorder.class, new ItemProviderLabelProviderFactory(new EtchedBorderTypeItems()), new ItemProviderCellEditorFactory(new EtchedBorderTypeItems()));
    FieldProperty highlightProperty = new FieldProperty("highlight", "highlight", EtchedBorder.class);
    FieldProperty shadowProperty = new FieldProperty("shadow", "shadow", EtchedBorder.class);
    return new IWidgetPropertyDescriptor[] {etchTypeProperty,
        highlightProperty,
        shadowProperty,
      };
  }
View Full Code Here


    return "BevelBorder";
  }

 
  protected IWidgetPropertyDescriptor[] getBorderProperties() {
    FieldProperty bevelTypeProperty = new FieldProperty("bevelType", "bevelType", BevelBorder.class, new ItemProviderLabelProviderFactory(
        new BevelBorderTypeItems()), new ItemProviderCellEditorFactory(new BevelBorderTypeItems()));
    FieldProperty highlightOuterProperty = new FieldProperty("highlightOuter", "highlightOuter", BevelBorder.class);
    FieldProperty highlightInnerProperty = new FieldProperty("highlightInner", "highlightInner", BevelBorder.class);
    FieldProperty shadowInnerProperty = new FieldProperty("shadowInner", "shadowInner", BevelBorder.class);
    FieldProperty shadowOuterProperty = new FieldProperty("shadowOuter", "shadowOuter", BevelBorder.class);
    return new IWidgetPropertyDescriptor[] { bevelTypeProperty, highlightOuterProperty, highlightInnerProperty, shadowInnerProperty, shadowOuterProperty };
  }
View Full Code Here

    InsetsProperty insetsProperty = new InsetsProperty(){
     
      protected Class getBorderClass() {
        return MatteBorder.class;
      }};
    FieldProperty colorProperty = new FieldProperty("color", "color", MatteBorder.class);
    FieldProperty tileIconProperty = new FieldProperty("tileIcon", "tileIcon", MatteBorder.class);
    return new IWidgetPropertyDescriptor[] { insetsProperty, colorProperty, tileIconProperty };
  }
View Full Code Here

    return new LineBorderSwitchAction(widget);
  }

 
  protected IWidgetPropertyDescriptor[] getBorderProperties() {
    FieldProperty thicknessProperty=new FieldProperty("thickness", "thickness", LineBorder.class);
    FieldProperty lineColorProperty=new FieldProperty("lineColor", "lineColor", LineBorder.class);
    FieldProperty roundedCornersProperty = new FieldProperty("roundedCorners","roundedCorners", LineBorder.class);   
    return new IWidgetPropertyDescriptor[]{thicknessProperty, lineColorProperty, roundedCornersProperty};
  }
View Full Code Here

  public String getBorderName() {
    return "TitledBorder";
  }

  protected IWidgetPropertyDescriptor[] getBorderProperties() {
    FieldProperty title = new FieldProperty("title", "title", TitledBorder.class);
    FieldProperty border = new FieldProperty("border", "border", TitledBorder.class);
    FieldProperty titlePosition = new FieldProperty("titlePosition", "titlePosition", TitledBorder.class, new ItemProviderLabelProviderFactory(new TitlePositionItems()),
        new ItemProviderCellEditorFactory(new TitlePositionItems()));
    FieldProperty titleJustification = new FieldProperty("titleJustification", "titleJustification", TitledBorder.class, new ItemProviderLabelProviderFactory(new TitleJustificationItems()),
        new ItemProviderCellEditorFactory(new TitleJustificationItems()));
    FieldProperty titleFont = new FieldProperty("titleFont", "titleFont", TitledBorder.class);
    FieldProperty titleColor = new FieldProperty("titleColor", "titleColor", TitledBorder.class);
    return new IWidgetPropertyDescriptor[] { title, border, titlePosition, titleJustification, titleFont, titleColor };
  }
View Full Code Here

    return "CompoundBorder";
  }

 
  protected IWidgetPropertyDescriptor[] getBorderProperties() {
    FieldProperty outside = new FieldProperty("outsideBorder", "outsideBorder", CompoundBorder.class);
    FieldProperty inside = new FieldProperty("insideBorder", "insideBorder", CompoundBorder.class);
    return new IWidgetPropertyDescriptor[] {outside, inside};
  }
View Full Code Here

    return "SoftBevelBorder";
  }

 
  protected IWidgetPropertyDescriptor[] getBorderProperties() {
    FieldProperty bevelTypeProperty = new FieldProperty("bevelType", "bevelType", SoftBevelBorder.class, new ItemProviderLabelProviderFactory(new BevelBorderTypeItems()), new ItemProviderCellEditorFactory(new BevelBorderTypeItems()));
    FieldProperty highlightOuterProperty = new FieldProperty("highlightOuter", "highlightOuter", SoftBevelBorder.class);
    FieldProperty highlightInnerProperty = new FieldProperty("highlightInner", "highlightInner", SoftBevelBorder.class);
    FieldProperty shadowInnerProperty = new FieldProperty("shadowInner", "shadowInner", SoftBevelBorder.class);
    FieldProperty shadowOuterProperty = new FieldProperty("shadowOuter", "shadowOuter", SoftBevelBorder.class);
    return new IWidgetPropertyDescriptor[] {bevelTypeProperty,
        highlightOuterProperty,
        highlightInnerProperty,
        shadowInnerProperty,
        shadowOuterProperty
View Full Code Here

    int axis = getAxis(layout);
    return new BoxLayout(con, axis);
  }

  protected IWidgetPropertyDescriptor[] getLayoutProperties() {
    FieldProperty axisProperty = new FieldProperty("axis", "axis", BoxLayout.class, new BoxLayoutAxisRenderer(), new BoxLayoutAxisEditor());
    return new IWidgetPropertyDescriptor[] { axisProperty };
  }
View Full Code Here

TOP

Related Classes of org.dyno.visual.swing.base.FieldProperty

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.