/* * Copyright (c) 2003,2007 Declarative Engineering LLC. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Declarative Engineering LLC * verson 1 which accompanies this distribution, and is available at * http://declarativeengineering.com/legal/DE_Developer_License_v1.txt */ package com.foundation.tcv.swt.server; import com.foundation.tcv.swt.*; import com.foundation.tcv.view.*; public class Group extends Container implements IGroup { /** * Group default constructor. *
Warning: This is only for use by the framework. This should never be called to create a useable instance.
*/ public Group() { }//Group()// /** * Group constructor. * @param parent A composite control which will be the parent of the new instance (cannot be null). * @param name The unique component name. * @param style The style of control to construct. * @see #STYLE_SHADOW_ETCHED_IN * @see #STYLE_SHADOW_ETCHED_OUT * @see #STYLE_SHADOW_IN * @see #STYLE_SHADOW_OUT * @see #STYLE_SHADOW_NONE */ public Group(Container parent, String name, int style) { super(parent, name, style); sendMessage(MESSAGE_INITIALIZE, new int[] {parent.getNumber(), style}); }//Group()// /* (non-Javadoc) * @see com.foundation.tcv.view.IViewComponent#processMessage(com.foundation.tcv.model.ViewMessage) */ public Object processMessage(ViewMessage viewMessage) { Object retVal = null; switch(viewMessage.getMessageNumber()) { default: { retVal = super.processMessage(viewMessage); }//default// }//switch// return retVal; }//processMessage()// /* (non-Javadoc) * @see com.foundation.tcv.swt.server.AbstractComponent#getClientClassName() */ protected String getClientClassName() { return "com.foundation.tcv.swt.client.Group"; }//getClientClassName()// /* (non-Javadoc) * @see com.foundation.tcv.swt.server.AbstractComponent#internalViewInitialize() */ protected void internalViewInitialize() { super.internalViewInitialize(); }//internalViewInitialize()// /* (non-Javadoc) * @see com.foundation.tcv.swt.server.AbstractComponent#internalViewRelease() */ protected void internalViewRelease() { super.internalViewRelease(); }//internalViewRelease()// /* (non-Javadoc) * @see com.foundation.tcv.swt.server.AbstractComponent#internalViewRefresh() */ protected void internalViewRefresh() { super.internalViewRefresh(); }//internalViewRefresh()// }//Group//