All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alkacon.acacia.shared.TabInfo Maven / Gradle / Ivy

Go to download

A GWT based resource editor. This component is used as a part of OpenCms, an enterprise-ready, easy to use website content management system based on Java and XML technology. Offering a complete set of features, OpenCms helps content managers worldwide to create and maintain beautiful websites fast and efficiently.

There is a newer version: 2.1
Show newest version
/*
 * This library is part of the Acacia Editor -
 * an open source inline and form based content editor for GWT.
 *
 * Copyright (c) Alkacon Software GmbH (http://www.alkacon.com)
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * For further information about Alkacon Software, please see the
 * company website: http://www.alkacon.com
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

package com.alkacon.acacia.shared;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Form tab information bean.

*/ public class TabInfo implements IsSerializable { /** Indicates if the first level of left labels should be shown in the editor. */ private boolean m_collapsed; /** The XML element name where this tab starts. */ private String m_startName; /** The name for the tab ID, generated from the start name. */ private String m_tabId; /** The name to display on the tab. */ private String m_tabName; /** * Constructor.

* * @param tabName the tab name * @param tabId the tab id * @param startName the start element name * @param collapsed if the labels should be collapsed */ public TabInfo(String tabName, String tabId, String startName, boolean collapsed) { m_tabName = tabName; m_tabId = tabId; m_startName = startName; m_collapsed = collapsed; } /** * Constructor for serialization only.

*/ protected TabInfo() { // nothing to do } /** * Returns the startName.

* * @return the startName */ public String getStartName() { return m_startName; } /** * Returns the tabId.

* * @return the tabId */ public String getTabId() { return m_tabId; } /** * Returns the tabName.

* * @return the tabName */ public String getTabName() { return m_tabName; } /** * Returns the collapsed.

* * @return the collapsed */ public boolean isCollapsed() { return m_collapsed; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy