KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > teamkonzept > webman > mainint > HTMLUtils


1 package com.teamkonzept.webman.mainint;
2
3 import com.teamkonzept.db.*;
4 import com.teamkonzept.lib.*;
5 import com.teamkonzept.webman.*;
6 import com.teamkonzept.web.*;
7 import com.teamkonzept.webman.db.*;
8 import com.teamkonzept.webman.mainint.events.*;
9
10
11 /**
12     provides several Util methods for HTML Frames
13 */

14 public class HTMLUtils implements FrameConstants
15 {
16     /**
17      * fuellt das uebergebene template mit den framesetparams
18      *
19      *
20      * @param
21      */

22     public static void fillFrameSet( TKHTMLTemplate t, String JavaDoc lwidth, String JavaDoc levent, String JavaDoc revent )
23     {
24         TKHashtable framePars = new TKHashtable();
25         framePars.put( "LCOLS", lwidth );
26         framePars.put( "RCOLS", RIGHT_FRAME_WIDTH );
27         framePars.put( "FRAMEBORDER", FRAME_BORDER );
28         framePars.put( "LTARGET", LEFT_TARGET );
29         framePars.put( "RTARGET", RIGHT_TARGET );
30         framePars.put( "LEVENT", levent );
31         framePars.put( "REVENT", revent );
32         t.set( framePars );
33     }
34     
35 }
Popular Tags