Package com.bitmovers.maui.components

Examples of com.bitmovers.maui.components.MComponent$DummyComponent


  {
    super.generate(aRenderable, aParser);
    //
    //  Get the title of the containing Frame
    //
    MComponent theComponent = parent;

    while(theComponent != null &&
         !(theComponent instanceof MFrame))
    {
      theComponent = theComponent.getParent();
    }

    if (theComponent instanceof MFrame)
    {
      aParser.setVariable("title", "<b>" +
View Full Code Here


 
  protected HasPostValue [] getValuePosters (I_Renderable aRenderable)
  {
    HasPostValue [] theValues = super.getValuePosters (aRenderable);
    HasPostValue [] retVal = null;
    MComponent theTop = ((MComponent) aRenderable).getRootParent ();
    if (theTop instanceof MauiApplication)
    {
      retVal = new HasPostValue [theValues.length + 1];
      System.arraycopy (theValues, 0, retVal, 1, theValues.length);
      retVal [0] = (HasPostValue) theTop;
View Full Code Here

  *
  * @param aRendererEvent The EventObject which describes the event
  */
  public synchronized void rendererCreated (RendererEvent aRendererEvent)
  {
    MComponent theComponent = aRendererEvent.getComponent ();
    MauiApplication theApplication = (MauiApplication) theComponent.getRootParent ();
    notifyListeners (theApplication.getApplicationAddress (), aRendererEvent);
    notifyListeners ("null", aRendererEvent);
  }
View Full Code Here

 
  public I_Renderable getContainingFrame(I_Renderable aRenderable)
  {
    if (containingFrame == null)
    {
      MComponent theComponent = (MComponent) aRenderable;
      while (theComponent != null && !(theComponent instanceof MFrame))
      {
        theComponent = theComponent.getParent ();
      }
      containingFrame = (I_Renderable) theComponent;
    }
    return containingFrame;
  }
View Full Code Here

 
  protected String generateSimpleAnchor(I_Renderable aRenderable,
                                        String aEventValue,
                                        String aLabel)
  {
    MComponent theComponent = (MComponent)aRenderable;
    StringBuffer retVal = new StringBuffer("<anchor id=\"");
    retVal.append(theComponent.getWMLSafeComponentID());
    retVal.append("\" title=\"Link\">");
    retVal.append(WMLCompositor.encodeWML(aLabel));
    retVal.append("\n");
    retVal.append(generatePostList (aRenderable, aEventValue));
    retVal.append("</anchor>\n");
View Full Code Here

  // METHOD: generateBackwardPrologue
  // ----------------------------------------------------------------------
 
  public String generateBackwardPrologue(I_Renderable aRenderable)
  {
    MComponent theComponent = (MComponent) aRenderable;
    return setVar (generateComponentID (theComponent) + "_Label", "$(" + generateComponentID (theComponent) + ")");//":e)");
  }
View Full Code Here

    panel.add(selectList);
    panel.add(table);
   
//    try
//    {
      MComponent mysteryComponent = (MComponent)getSession().getObjectFactory().createObject(this,"recipientField");
      panel.add(mysteryComponent);
/*    }
    catch (ClassCastException e)
    {
      System.out.println("Couldn't create constraint-based component.");
View Full Code Here

      }
     
      //
      //  Notify the session that a renderer has been created
      //
      MComponent theRootParent = aComponent.getRootParent ();
      if (theRootParent instanceof MauiApplication)
      {
        HTTPSession theSession = ((MauiApplication) theRootParent).getSession ();
        if (theSession != null)
        {
View Full Code Here

   
    //
    //  Get the header values and determine a client "classification" to use
    //  for trying to locate a renderer.
    //
    MComponent theRoot = aComponent.getRootParent ();
    if (theRoot instanceof MauiApplication)
    {
      String [] theClientClassification = getClientClassification ((MauiApplication) theRoot);
      //
      //  With this classification array, try to locate the appropriate renderer.
View Full Code Here

TOP

Related Classes of com.bitmovers.maui.components.MComponent$DummyComponent

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.