/*
XOWA: the XOWA Offline Wiki Application
Copyright (C) 2012 gnosygnu@gmail.com

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program 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 Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
package gplx.xowa.gui.bnds; import gplx.*; import gplx.xowa.*; import gplx.xowa.gui.*;
import gplx.gfui.*;
public class Xog_bnd_itm {
	public Xog_bnd_itm(String key, boolean sys, String cmd, int box, IptArg ipt) {
		this.key = key; this.sys = sys; this.cmd = cmd; this.box = box; this.ipt = ipt;
		uid = ++Uid_next;
	}
	public String Key() {return key;} private String key;
	public int Uid() {return uid;} private int uid;
	public boolean Sys() {return sys;} private boolean sys;
	public String Cmd() {return cmd;} public void Cmd_(String v) {cmd = v;} private String cmd;
	public int Box() {return box;} private int box;
	public IptArg Ipt() {return ipt;} public void Ipt_to_none() {ipt = IptKey_.None;} private IptArg ipt;		
	public void Init_by_set(int box, IptArg ipt) {this.box = box; this.ipt = ipt;}
	private static int Uid_next = 0;
}
