/******************************************************************************* * Copyright (c) 2002-2006 Innoopract Informationssysteme GmbH. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Innoopract Informationssysteme GmbH - initial API and implementation ******************************************************************************/ package com.w4t.dhtml.renderinfo; import com.w4t.dhtml.MenuButton; /** <p>Contains the information that is needed in the Renderer for * MenuBars.</p> * <p>Note that render info objects should <strong>always</strong> be * <strong>readonly</strong>.</p> * @see org.eclipse.rwt.dhtml.menubarkit.MenuBarRenderer MenuBarRenderer */ public class MenuBarInfo { private MenuButton[] menuButtons; /** <p>constructs a new MenuBarInfo with the specified information.</p> */ public MenuBarInfo( final MenuButton[] menuButtons ) { this.menuButtons = menuButtons; } // accessors //////////// public MenuButton[] getMenuButtons() { return menuButtons; } }