HTMLUtils.java :  » Content-Management-System » webman » com » teamkonzept » webman » mainint » Java Open Source

Java Open Source » Content Management System » webman 
webman » com » teamkonzept » webman » mainint » HTMLUtils.java
package com.teamkonzept.webman.mainint;

import com.teamkonzept.db.*;
import com.teamkonzept.lib.*;
import com.teamkonzept.webman.*;
import com.teamkonzept.web.*;
import com.teamkonzept.webman.db.*;
import com.teamkonzept.webman.mainint.events.*;


/**
    provides several Util methods for HTML Frames
*/
public class HTMLUtils implements FrameConstants
{
  /**
   * fuellt das uebergebene template mit den framesetparams
   *
   *
   * @param
   */
  public static void fillFrameSet( TKHTMLTemplate t, String lwidth, String levent, String revent )
  {
    TKHashtable framePars = new TKHashtable();
    framePars.put( "LCOLS", lwidth );
    framePars.put( "RCOLS", RIGHT_FRAME_WIDTH );
    framePars.put( "FRAMEBORDER", FRAME_BORDER );
    framePars.put( "LTARGET", LEFT_TARGET );
    framePars.put( "RTARGET", RIGHT_TARGET );
    framePars.put( "LEVENT", levent );
    framePars.put( "REVENT", revent );
    t.set( framePars );
  }
    
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.