Examples of UIRuntimeException


Examples of org.gudy.azureus2.plugins.ui.UIRuntimeException

            + Debug.getStackTrace(true, true)));
  }
 
  private void checkCellForSetting() {
    if ((flags & FLAG_DISPOSED) != 0) {
      throw new UIRuntimeException("Table Cell is disposed.");
    }
  }
View Full Code Here

Examples of org.gudy.azureus2.plugins.ui.UIRuntimeException

    }

    public MenuItem addMenuItem(MenuItem parent, String resource_key) {

    if (!(parent instanceof MenuItemImpl)) {
      throw new UIRuntimeException("parent must have been created by addMenuItem");
    }
   
    if (parent.getStyle() != MenuItemImpl.STYLE_MENU) {
      throw new UIRuntimeException("parent menu item must have the menu style associated");
    }
   
    MenuItemImpl item = new MenuItemImpl((MenuItemImpl)parent, resource_key);
    UIManagerImpl.fireEvent( ui_manager.getPluginInterface(), UIManagerEvent.ET_ADD_SUBMENU_ITEM, new Object[] {item, parent});
    return item;
View Full Code Here

Examples of org.gudy.azureus2.plugins.ui.UIRuntimeException

  }
 
  public void initialize(int iAlignment, int iPosition, int iWidth,
      int iInterval) {
    if (bColumnAdded) {
      throw (new UIRuntimeException("Can't set properties. Column '" + sName
          + " already added"));
    }

    this.iAlignment = iAlignment;
    setPosition(iPosition);
View Full Code Here

Examples of org.gudy.azureus2.plugins.ui.UIRuntimeException

    this.iInterval = iInterval;
  }

  public void initialize(int iAlignment, int iPosition, int iWidth) {
    if (bColumnAdded) {
      throw (new UIRuntimeException("Can't set properties. Column '" + sName
          + " already added"));
    }

    this.iAlignment = iAlignment;
    setPosition(iPosition);
View Full Code Here

Examples of org.gudy.azureus2.plugins.ui.UIRuntimeException

    return sTableID;
  }

  public void setType(int type) {
    if (bColumnAdded) {
      throw (new UIRuntimeException("Can't set properties. Column '" + sName
          + " already added"));
    }

    iType = type;
  }
View Full Code Here

Examples of org.gudy.azureus2.plugins.ui.UIRuntimeException

    return iWidth;
  }

  public void setPosition(int position) {
    if (bColumnAdded) {
      throw (new UIRuntimeException("Can't set properties. Column '" + sName
          + " already added"));
    }

    if (iPosition == POSITION_INVISIBLE && position != POSITION_INVISIBLE) {
      setVisible(true);
View Full Code Here

Examples of org.gudy.azureus2.plugins.ui.UIRuntimeException

    return iPosition;
  }

  public void setAlignment(int alignment) {
    if (bColumnAdded) {
      throw (new UIRuntimeException("Can't set properties. Column '" + sName
          + " already added"));
    }

    iAlignment = alignment;
  }
View Full Code Here

Examples of org.gudy.azureus2.plugins.ui.UIRuntimeException

      return;
    }
    try {
      eventListener.eventOccurred(new UISWTViewEventImpl(this, eventType, data));
    } catch (Throwable t) {
      throw (new UIRuntimeException("UISWTView.triggerEvent:: ViewID="
          + sViewID + "; EventID=" + eventType + "; data=" + data, t));
    }
  }
View Full Code Here

Examples of org.gudy.azureus2.plugins.ui.UIRuntimeException

  private boolean triggerEvent2(int eventType, Object data) {
    try {
      return eventListener.eventOccurred(new UISWTViewEventImpl(this, eventType, data));
    } catch (Throwable t) {
      throw (new UIRuntimeException("UISWTView.triggerEvent:: ViewID="
          + sViewID + "; EventID=" + eventType + "; data=" + data, t));
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.