Package org.w3c.jigadm

Examples of org.w3c.jigadm.PropertyManager


  gbc.fill = GridBagConstraints.HORIZONTAL;
  gbc.weightx = 0;
  gbc.weighty = 0;
  for(int i=0; i<a.length; i++) {
      if(a[i] != null) {
    PropertyManager pm = PropertyManager.getPropertyManager();
    Properties attrProps =
        pm.getAttributeProperties(rrw, a[i].getAttribute());
    String labelText = (String) attrProps.get("label");
    if ( labelText == null )
        labelText = a[i].getName();
    l = new Label(labelText, Label.RIGHT);
    ae[i] = AttributeEditorFactory.getEditor(rrw,
View Full Code Here


    }

    public ServerBrowser(AdminContext ac, TreeListener tl) {
  boolean authorized = false;
  RemoteResource rr = null;
  PropertyManager pm = PropertyManager.getPropertyManager();
  admin   = ac;
  this.tl = tl;

  locked = false;
  diricon = getImage(pm.getIconLocation("smalldir"));
  fileicon = getImage(pm.getIconLocation("smallfile"));
  diropenedicon = getImage(pm.getIconLocation("smalldiropened"));
  while (!authorized) {
      try {
    authorized = true;
    ac.initialize();
      } catch (RemoteAccessException ex) {
View Full Code Here

      ScrollPane fsp = new ScrollPane();
      GridBagLayout fgbl = new GridBagLayout();
      GridBagConstraints fgbc = new GridBagConstraints();
      Panel fspp = new Panel (fgbl);
      fsp.add(fspp);
      PropertyManager pm = PropertyManager.getPropertyManager();
      String downPath = pm.getIconLocation("down");
      String leftPath = pm.getIconLocation("left");
      combo = new FakeComboBox(35,7,true,downPath,leftPath);
      while(st.hasMoreTokens())
    combo.add(st.nextToken().trim());
      fspp.add(combo);
      addFrame.add("Center", fsp); //Center
View Full Code Here

    public static synchronized
    AttributeEditor getEditor(RemoteResourceWrapper rrw, Attribute attribute) {
  RemoteResource resource = rrw.getResource();

  PropertyManager pm = PropertyManager.getPropertyManager();
  Properties props = pm.getAttributeProperties(rrw, attribute);
  String className = (String) props.get("class");
  if ( className == null ) {
      System.out.println("can't edit "+attribute.getName()+" !");
      return null;
  }
View Full Code Here

  Panel tfp;
  Label l;
  MouseButtonListener mbl = new MouseButtonListener();
  ControlListener cl = new ControlListener();
  Panel ControlPanel = new Panel(new BorderLayout());
  PropertyManager pm = PropertyManager.getPropertyManager();
  ScrollPane fsp = new ScrollPane();
  GridBagLayout gbl = new GridBagLayout();
  GridBagConstraints gbc = new GridBagConstraints();
  Panel fspp = new Panel(gbl);
  gbc.insets = new Insets(5,0,0,0);
View Full Code Here

   public DateAttributeEditor() {
       ImageButton pl, mi;
       Panel p, arrows;
       DateActionListener dae;
       PropertyManager pm = PropertyManager.getPropertyManager();

       Image up = Toolkit.getDefaultToolkit().getImage(
     pm.getIconLocation("pup"));
       Image down = Toolkit.getDefaultToolkit().getImage(
     pm.getIconLocation("pdown"));

       widget = new Panel(new GridLayout(2,1,1,1));

       Panel time = new BorderPanel(BorderPanel.IN);
       time.setLayout(new GridLayout(1,3));
View Full Code Here

      GridBagLayout fgbl = new GridBagLayout();
      GridBagConstraints fgbc = new GridBagConstraints();
      Panel fspp = new Panel (fgbl);
      fsp.add(fspp);

      PropertyManager pm = PropertyManager.getPropertyManager();
      String downPath = pm.getIconLocation("down");
      String leftPath = pm.getIconLocation("left");
      combo = new FakeComboBox(35,7,true,downPath,leftPath);
      while(st.hasMoreTokens())
        combo.add(st.nextToken().trim());
      fspp.add(combo);
View Full Code Here

public class ResourceHelperFactory {

    public static synchronized
    ResourceHelper[] getHelpers(RemoteResourceWrapper rrw) {
  PropertyManager pm        = PropertyManager.getPropertyManager();
  String          classes[] = pm.getHelperClasses(rrw);
  ResourceHelper  helpers[] = null;

  if ( classes != null ) {
      // Create the helpers (skip impedance mismatch):
      helpers = new ResourceHelper[classes.length];
View Full Code Here

            String selected [],
            String title)
  {
      super(title);

      PropertyManager pm = PropertyManager.getPropertyManager();
      Image left = Toolkit.getDefaultToolkit().getImage(
              pm.getIconLocation("shadowleft"));

      Image right = Toolkit.getDefaultToolkit().getImage(
               pm.getIconLocation("shadowright"));
      this.selected  = selected;
      this.parent   = parent;
      this.feeder   = feeder;
      this.newItem = parent.editor.getTextEditor();
      createDefaultItems(feeder);
View Full Code Here

      ScrollPane fsp = new ScrollPane();
      GridBagLayout fgbl = new GridBagLayout();
      GridBagConstraints fgbc = new GridBagConstraints();
      Panel fspp = new Panel (fgbl);
      fsp.add(fspp);
      PropertyManager pm = PropertyManager.getPropertyManager();
      String downPath = pm.getIconLocation("down");
      String leftPath = pm.getIconLocation("left");
      combo = new FakeComboBox(35,7,true,downPath,leftPath);
      while(st.hasMoreTokens())
        combo.add(st.nextToken().trim());
      fspp.add(combo);
      addPanel.add("Center", fsp);
View Full Code Here

TOP

Related Classes of org.w3c.jigadm.PropertyManager

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.