//# 0 errors, 72 messages
//#
/*
    //#MenuTabItem.java:1:1: class: org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem
    //#MenuTabItem.java:1:1: method: org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem.org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem__static_init
 * Licensed to the Apache Software Foundation (ASF) under one or more
 *  contributor license agreements.  The ASF licenses this file to You
 * 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.  For additional information regarding
 * copyright in this work, please see the NOTICE file in the top level
 * directory of this distribution.
 */

package org.apache.roller.weblogger.ui.core.util.menu;


/**
 * Items in a Tab.
 */
public class MenuTabItem {
    //#MenuTabItem.java:25: method: void org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem.org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem()
    //#input(void org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem()): this
    //#output(void org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem()): this.action
    //#output(void org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem()): this.key
    //#output(void org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem()): this.selected
    //#post(void org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem()): this.action == null
    //#post(void org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem()): this.key == null
    //#post(void org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem()): this.selected == 0
    
    private String key = null;
    private String action = null;
    private boolean selected = false;
    //#MenuTabItem.java:29: end of method: void org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem.org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem()
    
    
    public String getKey() {
        return key;
    //#MenuTabItem.java:33: method: String org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem.getKey()
    //#input(String getKey()): this
    //#input(String getKey()): this.key
    //#output(String getKey()): return_value
    //#pre[2] (String getKey()): init'ed(this.key)
    //#post(String getKey()): return_value == this.key
    //#post(String getKey()): init'ed(return_value)
    //#MenuTabItem.java:33: end of method: String org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem.getKey()
    }

    public void setKey(String key) {
        this.key = key;
    //#MenuTabItem.java:37: method: void org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem.setKey(String)
    //#input(void setKey(String)): key
    //#input(void setKey(String)): this
    //#output(void setKey(String)): this.key
    //#post(void setKey(String)): this.key == key
    //#post(void setKey(String)): init'ed(this.key)
    }
    //#MenuTabItem.java:38: end of method: void org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem.setKey(String)

    public String getAction() {
        return action;
    //#MenuTabItem.java:41: method: String org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem.getAction()
    //#input(String getAction()): this
    //#input(String getAction()): this.action
    //#output(String getAction()): return_value
    //#pre[2] (String getAction()): init'ed(this.action)
    //#post(String getAction()): return_value == this.action
    //#post(String getAction()): init'ed(return_value)
    //#MenuTabItem.java:41: end of method: String org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem.getAction()
    }

    public void setAction(String url) {
        this.action = url;
    //#MenuTabItem.java:45: method: void org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem.setAction(String)
    //#input(void setAction(String)): this
    //#input(void setAction(String)): url
    //#output(void setAction(String)): this.action
    //#post(void setAction(String)): this.action == url
    //#post(void setAction(String)): init'ed(this.action)
    }
    //#MenuTabItem.java:46: end of method: void org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem.setAction(String)

    public boolean isSelected() {
        return selected;
    //#MenuTabItem.java:49: method: bool org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem.isSelected()
    //#input(bool isSelected()): this
    //#input(bool isSelected()): this.selected
    //#output(bool isSelected()): return_value
    //#pre[2] (bool isSelected()): init'ed(this.selected)
    //#post(bool isSelected()): return_value == this.selected
    //#post(bool isSelected()): init'ed(return_value)
    //#MenuTabItem.java:49: end of method: bool org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem.isSelected()
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    //#MenuTabItem.java:53: method: void org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem.setSelected(bool)
    //#input(void setSelected(bool)): selected
    //#input(void setSelected(bool)): this
    //#output(void setSelected(bool)): this.selected
    //#post(void setSelected(bool)): this.selected == selected
    //#post(void setSelected(bool)): init'ed(this.selected)
    }
    //#MenuTabItem.java:54: end of method: void org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem.setSelected(bool)
    
}
    //#output(org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem__static_init): __Descendant_Table[org/apache/roller/weblogger/ui/core/util/menu/MenuTabItem]
    //#output(org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem__static_init): __Dispatch_Table.getAction()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem__static_init): __Dispatch_Table.getKey()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem__static_init): __Dispatch_Table.isSelected()Z
    //#output(org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem__static_init): __Dispatch_Table.setAction(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem__static_init): __Dispatch_Table.setKey(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem__static_init): __Dispatch_Table.setSelected(Z)V
    //#post(org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem__static_init): __Descendant_Table[org/apache/roller/weblogger/ui/core/util/menu/MenuTabItem] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem__static_init): __Dispatch_Table.getAction()Ljava/lang/String; == &getAction
    //#post(org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem__static_init): __Dispatch_Table.getKey()Ljava/lang/String; == &getKey
    //#post(org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem__static_init): __Dispatch_Table.isSelected()Z == &isSelected
    //#post(org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem__static_init): __Dispatch_Table.setAction(Ljava/lang/String;)V == &setAction
    //#post(org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem__static_init): __Dispatch_Table.setKey(Ljava/lang/String;)V == &setKey
    //#post(org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem__static_init): __Dispatch_Table.setSelected(Z)V == &setSelected
    //#MenuTabItem.java:: end of method: org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem.org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem__static_init
    //#MenuTabItem.java:: end of class: org.apache.roller.weblogger.ui.core.util.menu.MenuTabItem
