|
|
|
/*
|
|
|
|
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.gfui; import gplx.*;
|
|
|
|
public interface GxwComboBox extends GxwElem {
|
|
|
|
int SelBgn(); void SelBgn_set(int v);
|
|
|
|
int SelLen(); void SelLen_set(int v);
|
|
|
|
void Sel_(int bgn, int end);
|
|
|
|
Object SelectedItm(); void SelectedItm_set(Object v);
|
|
|
|
String[] DataSource_as_str_ary();
|
|
|
|
void DataSource_set(Object... ary);
|
|
|
|
String Text_fallback(); void Text_fallback_(String v);
|
|
|
|
int List_sel_idx(); void List_sel_idx_(int v);
|
|
|
|
boolean List_visible(); void List_visible_(boolean v);
|
|
|
|
void Items__update(String[] ary);
|
|
|
|
void Items__size_to_fit(int count);
|
|
|
|
void Items__visible_rows_(int v);
|
|
|
|
void Items__jump_len_(int v);
|
|
|
|
void Margins_set(int left, int top, int right, int bot);
|
|
|
|
}
|