de.jwic.controls.menu.MenuItem Maven / Gradle / Ivy
/*******************************************************************************
* Copyright 2015 xWic group (http://www.xwic.de)
*
* Licensed under the Apache License, Version 2.0 (the "License").
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*******************************************************************************/
package de.jwic.controls.menu;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import de.jwic.base.IHaveEnabled;
import de.jwic.base.ImageRef;
import de.jwic.controls.actions.IAction;
import de.jwic.util.Util;
/**
* @author lippisch
*
*/
public class MenuItem implements Serializable, IHaveEnabled {
private List menuSelectionListeners = new ArrayList();
private IAction action = null;
private int id = 0;
private String title = null;
private ImageRef iconEnabled = null;
private ImageRef iconDisabled = null;
private Object data = null;
private boolean enabled = true;
private boolean visible = true;
private String tooltip = null;
private int width = 150;
private List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy