Called when a Library item is clicked.
544377
@SuppressLint("NewApi")
    @Override
    public void onItemClick(View v, com.ftinc.kit.attributr.model.Library item, int position) {
        if(BuildUtils.isLollipop()){
            v.setElevation(SizeUtils.dpToPx(this, 4));
        }

        View name = ButterKnife.findById(v, R.id.line_1);
        View author = ButterKnife.findById(v, R.id.line_2);

        Pair<View, String>[] transitions = new Pair[]{
                new Pair<>(v, "display_content"),
                new Pair<>(name, "library_name"),
                new Pair<>(author, "library_author"),
                new Pair<>(mToolbar, "app_bar")
        };

        Intent details = new Intent(this, com.ftinc.kit.attributr.ui.DetailActivity.class);
        details.putExtra(com.ftinc.kit.attributr.ui.DetailActivity.EXTRA_LIBRARY, item);

        startActivity(details);
//        UIUtils.startActivityWithTransition(this, details, transitions);
    }
1104952
public void onClick(MenuItemClickEvent event) {
		FeatureTransaction featureTransaction = mapWidget.getMapModel().getFeatureEditor().getFeatureTransaction();
		if (featureTransaction != null) {
			controller.cleanup();
			mapWidget.render(featureTransaction,  RenderGroup.VECTOR, RenderStatus.DELETE);
			mapWidget.getMapModel().getFeatureEditor().stopEditing();
		}
	}
1064447
public void onItemSelected() {

        // Reset the current filter (if any)
        DataColumn firstColumn = dataSet.getColumnByIndex(0);
        String firstColumnId = firstColumn.getId();
        List<Integer> currentFilter = filterIndexes(firstColumnId);
        if (currentFilter != null && !currentFilter.isEmpty()) {
            filterReset();
        }

        ColumnSettings columnSettings = displayerSettings.getColumnSettings(firstColumn);
        String firstColumnName = columnSettings.getColumnName();
        String selected = view.getSelectedId();
        if (selected != null) {
            // Filter by the selected value (if any)
            filterUpdate(firstColumnId, Integer.parseInt(selected));
            view.showResetHint(firstColumnName);
        } else {
            view.showSelectHint(firstColumnName);
        }
    }
699478
def _on_remove_library(self, *event):
        
        self.view['library_tree_view'].grab_focus()
        if react_to_event(self.view, self.view['library_tree_view'], event):
            path = self.view["library_tree_view"].get_cursor()[0]
            if path is not None:
                library_name = self.library_list_store[int(path[0])][0]
                library_config = self.core_config_model.get_current_config_value("LIBRARY_PATHS", use_preliminary=True,
                                                                                 default={})
                del library_config[library_name]
                self.core_config_model.set_preliminary_config_value("LIBRARY_PATHS", library_config)
                if len(self.library_list_store) > 0:
                    self.view['library_tree_view'].set_cursor(min(path[0], len(self.library_list_store) - 1))
            return True
1328812
protected void onItemClick(ItemClickEvent event) {

        if (!event.isCtrlKey() && !event.isShiftKey()) {

            Set<String> nameSet = new LinkedHashSet<String>();

            CmsModuleRow moduleRow = (CmsModuleRow)(event.getItemId());
            select(moduleRow);
            nameSet.add(moduleRow.getModule().getName());
            if (event.getButton().equals(MouseButton.RIGHT) || (event.getPropertyId() == null)) {
                select(moduleRow);
                m_menu.setEntries(m_app.getMenuEntries(), nameSet);
                m_menu.openForTable(event, this);
            } else if (event.getButton().equals(MouseButton.LEFT) && "name".equals(event.getPropertyId())) {

                m_app.openModuleInfo(nameSet);
            }

        }
    }
1215577
public void setOnItemClickListener(AdapterView.OnItemClickListener l) {
        if(mAutoCompleteMode == AUTOCOMPLETE_MODE_NONE)
            return;
        ((AutoCompleteTextView)mInputView).setOnItemClickListener(l);
    }
796271
private void fireEvent(String action, ESigItem item) {
        if (eventManager != null) {
            eventManager.fireLocalEvent("ESIG." + action, item);
        }
    }
943688
def item_selected(self, item=None):
        """"""
        if item is None:
            item = self.currentItem()

        # stack history is in inverse order
        try:
            index = self.stack_history[-(self.currentRow()+1)]
        except IndexError:
            pass
        else:
            self.editor.set_stack_index(index)
            self.editor.current_changed(index)
        self.hide()
456200
def on_select(self, item, action):
        

        if not isinstance(item, int):
            item = self.items.index(item)

        self._on_select[item] = action
1256583
public void click() {
        getDispatcher().beforeClick(this);
        
        getElement().click();
        if (Config.getBoolConfigProperty(ConfigProperty.ENABLE_GUI_LOGGING)) {
            logUIAction(UIActions.CLICKED);
        }
        
        getDispatcher().afterClick(this);
    }
338773
def handle_play_clicked(self):
        
        if self.__hardware_source:
            if self.is_playing:
                self.__hardware_source.stop_playing()
            else:
                self.__hardware_source.start_playing()
631380
private OnItemClickListener createItemClickListener() {
        return new OnItemClickListener() {

            @Override
            public void onItemClick(final AdapterView<?> parent, final View view,
                                    final int position, final long id) {
                Pair<Integer, Integer> itemPosition =
                        getItemPosition(position - getHeaderViewsCount());
                int groupIndex = itemPosition.first;
                int childIndex = itemPosition.second;
                long packedId;

                if (childIndex != -1) {
                    packedId = getPackedPositionForChild(groupIndex, childIndex);
                    notifyOnChildClicked(view, groupIndex, childIndex, packedId);
                } else if (groupIndex != -1) {
                    packedId = getPackedPositionForGroup(groupIndex);
                    notifyOnGroupClicked(view, groupIndex, packedId);
                } else {
                    packedId = getPackedPositionForChild(Integer.MAX_VALUE, position);
                }

                notifyOnItemClicked(view, getPackedPosition(position), packedId);
            }

        };
    }
772178
public void onClick(MenuItemClickEvent event) {
		if (editController.getEditMode() == EditMode.DRAG_MODE) {
			editController.setEditMode(EditMode.INSERT_MODE);
		} else {
			editController.setEditMode(EditMode.DRAG_MODE);
		}
	}
1018361
def OnActivateReader(self, event):
        """"""
        item = event.GetItem()
        if item:
            itemdata = self.readertreepanel.readertreectrl.GetItemPyData(item)
            if isinstance(itemdata, smartcard.Card.Card):
                self.ActivateCard(itemdata)
            elif isinstance(itemdata, smartcard.reader.Reader.Reader):
                self.dialogpanel.OnActivateReader(itemdata)
        event.Skip()
517802
def clicked(self):
        """"""
        fnames = self.get_selected_filenames()
        for fname in fnames:
            if osp.isdir(fname):
                self.directory_clicked(fname)
            else:
                self.open([fname])
836108
public void onClick(MenuItemClickEvent event) {
		if (feature != null && feature.isSelected()) {
			FeatureTransaction ft = mapWidget.getMapModel().getFeatureEditor().startEditing(
					new Feature[] { feature.clone() }, new Feature[] { feature.clone() });
			mapWidget.render(ft, RenderGroup.VECTOR, RenderStatus.ALL);
			VectorLayer vLayer = feature.getLayer();
			if (vLayer.getLayerInfo().getLayerType() == LayerType.POINT) {
				controller.setController(new PointEditController(mapWidget, controller));
			} else if (vLayer.getLayerInfo().getLayerType() == LayerType.MULTIPOINT) {
				mapWidget.getMapModel().getFeatureEditor().stopEditing();
				mapWidget.render(ft, RenderGroup.VECTOR, RenderStatus.DELETE);
				SC.warn("Editing of MultiPoint layers is not supported yet....");
			} else if (vLayer.getLayerInfo().getLayerType() == LayerType.LINESTRING) {
				controller.setController(new LineStringEditController(mapWidget, controller));
			} else if (vLayer.getLayerInfo().getLayerType() == LayerType.MULTILINESTRING) {
				controller.setController(new MultiLineStringEditController(mapWidget, controller));
			} else if (vLayer.getLayerInfo().getLayerType() == LayerType.POLYGON) {
				controller.setController(new PolygonEditController(mapWidget, controller));
			} else if (vLayer.getLayerInfo().getLayerType() == LayerType.MULTIPOLYGON) {
				controller.setController(new MultiPolygonEditController(mapWidget, controller));
			}
			controller.setEditMode(EditMode.DRAG_MODE);
		}
	}
858922
public void onItemClick() {
        if (selected) {
            selected = false;
            getView().reset();

            if (onResetCommand != null) {
                onResetCommand.execute();
            }
        }
        else {
            selected = true;
            getView().select();

            if (onSelectCommand != null) {
                onSelectCommand.execute();
            }
        }
    }