/** * Sets the text associated with the item at a given index. * * @param index the index of the item to be set * @param text the item's new text * @throws IndexOutOfBoundsException if the index is out of range */ public void setItemText(int index, String text) { setItemText(index, text, null); }
/** * Sets the text associated with the item at a given index. * * @param index the index of the item to be set * @param text the item's new text * @throws IndexOutOfBoundsException if the index is out of range */ public void setItemText(int index, String text) { setItemText(index, text, null); }
/** * Sets the text associated with the item at a given index. * * @param index the index of the item to be set * @param text the item's new text * @throws IndexOutOfBoundsException if the index is out of range */ public void setItemText(int index, String text) { setItemText(index, text, null); }
public void setItemText( T object, String text ) { Integer idx = idxs.get( object ); if( idx == null ) return; base.setItemText( idx, text ); }
public void setItemText( int id, String text ) { listBox.setItemText( ids.get( id ), text ); }
public void setItemText( T object, String text ) { Integer idx = idxs.get( object ); if( idx == null ) return; base.setItemText( idx, text ); }
public void setFontLocaleMap(Map<String, String> localeMap) { fonts.setItemText(0, localeMap.get(CubaRichTextAreaState.RICH_TEXT_AREA_FONT_LABEL)); fonts.setItemText(1, localeMap.get(CubaRichTextAreaState.RICH_TEXT_AREA_NORMAL_LABEL)); }
public void setItemText( int id, String text ) { listBox.setItemText( ids.get( id ), text ); }
public void setSizeLocaleMap(Map<String, String> localeMap) { fontSizes.setItemText(0, localeMap.get(CubaRichTextAreaState.RICH_TEXT_AREA_SIZE_LABEL)); }
/** * Sets the text associated with the item at a given index. * * @param index the index of the item to be set * @param text the item's new text * @throws IndexOutOfBoundsException if the index is out of range */ public void setItemText(int index, String text) { index += getIndexOffset(); listBox.setItemText(index, text); reload(); }
/** * Sets the text associated with the item at a given index. * * @param index the index of the item to be set * @param text the item's new text * @throws IndexOutOfBoundsException if the index is out of range */ public void setItemText(int index, String text) { index += getIndexOffset(); listBox.setItemText(index, text); reload(); }
/** * Sets the text associated with the item at a given index. * * @param index the index of the item to be set * @param text the item's new text * @param dir the item's direction. * @throws IndexOutOfBoundsException if the index is out of range */ public void setItemText(int index, String text, Direction dir) { index += getIndexOffset(); listBox.setItemText(index, text, dir); reload(); }
/** * Sets the text associated with the item at a given index. * * @param index the index of the item to be set * @param text the item's new text * @param dir the item's direction. * @throws IndexOutOfBoundsException if the index is out of range */ public void setItemText(int index, String text, Direction dir) { index += getIndexOffset(); listBox.setItemText(index, text, dir); reload(); }
public void setLabel1(String label1) { if (select.getItemCount() > 1) select.setItemText(0, label1); else select.addItem(label1, getValue1()); }
public void setLabel1(String label1) { if (select.getItemCount() > 1) select.setItemText(0, label1); else select.addItem(label1, getValue1()); }
public void setLabel1(String label1) { if (select.getItemCount() > 1) select.setItemText(0, label1); else select.addItem(label1, getValue1()); }
public void setLabel2(String label2) { if (select.getItemCount() > 2) select.setItemText(1, label2); else select.addItem(label2, getValue2()); }
public void setLabel2(String label2) { if (select.getItemCount() > 2) select.setItemText(1, label2); else select.addItem(label2, getValue2()); }
public void setLabel2(String label2) { if (select.getItemCount() > 2) select.setItemText(1, label2); else select.addItem(label2, getValue2()); }