@Override public boolean isEnabled() { return _getSelection() instanceof PropertySet; } }
/** Convenience method to get the currently selected property. Equivalent to calling * <code>getSheetModel().getPropertySetModel().getFeatureDescriptor(getSelectedRow()) * </code>. This method will return null if the table does not have focus or editing * is not in progress. */ public final FeatureDescriptor getSelection() { return _getSelection(); }
/** Convenience method to get the currently selected property. Equivalent to calling * <code>getSheetModel().getPropertySetModel().getFeatureDescriptor(getSelectedRow()) * </code>. This method will return null if the table does not have focus or editing * is not in progress. */ @Override public final FeatureDescriptor getSelection() { return _getSelection(); }
@Override public boolean isEnabled() { boolean result = _getSelection() instanceof PropertySet; return result; } }
/** Convenience method to get the currently selected property. Equivalent to calling * <code>getSheetModel().getPropertySetModel().getFeatureDescriptor(getSelectedRow()) * </code>. This method will return null if the table does not have focus or editing * is not in progress. */ public final FeatureDescriptor getSelection() { return _getSelection(); }
public boolean isEnabled () { return _getSelection() instanceof PropertySet; } };
public boolean isEnabled () { boolean result = _getSelection() instanceof PropertySet; return result; }
public boolean isEnabled () { return _getSelection() instanceof PropertySet; } };
public boolean isEnabled () { boolean result = _getSelection() instanceof PropertySet; return result; }
public void actionPerformed (ActionEvent ae) { FeatureDescriptor fd = _getSelection(); if (fd instanceof PropertySet) { int row = SheetTable.this.getSelectedRow(); boolean b = getPropertySetModel().isExpanded (fd); if (!b) { toggleExpanded(row); } } }
@Override public void actionPerformed(ActionEvent ae) { FeatureDescriptor fd = _getSelection(); if (fd instanceof PropertySet) { int row = SheetTable.this.getSelectedRow(); boolean b = getPropertySetModel().isExpanded(fd); if (!b) { toggleExpanded(row); } } }
public void actionPerformed (ActionEvent ae) { FeatureDescriptor fd = _getSelection(); if (fd instanceof PropertySet) { int row = SheetTable.this.getSelectedRow(); boolean b = getPropertySetModel().isExpanded (fd); if (b) { toggleExpanded(row); } } }
@Override public void actionPerformed(ActionEvent ae) { FeatureDescriptor fd = _getSelection(); if (fd instanceof PropertySet) { int row = SheetTable.this.getSelectedRow(); boolean b = getPropertySetModel().isExpanded(fd); if (b) { toggleExpanded(row); } } }
public void actionPerformed (ActionEvent ae) { FeatureDescriptor fd = _getSelection(); if (fd instanceof PropertySet) { int row = SheetTable.this.getSelectedRow(); boolean b = getPropertySetModel().isExpanded (fd); if (b) { toggleExpanded(row); } } }
public void actionPerformed (ActionEvent ae) { FeatureDescriptor fd = _getSelection(); if (fd instanceof PropertySet) { int row = SheetTable.this.getSelectedRow(); boolean b = getPropertySetModel().isExpanded (fd); if (!b) { toggleExpanded(row); } } }
/** Temporarily store the currently edited feature descriptor and partial * value from the editor. This info is used to restore the editing state * after temporary losses of focus and recoverable changes like reordering * the model, or changes that derive from the underlying node */ void saveEditingState() { storedFd = _getSelection(); if (isEditing()) { InplaceEditor ine = getEditor().getInplaceEditor(); if (ine != null) { partialValue = ine.getValue(); } } }
/** Temporarily store the currently edited feature descriptor and partial * value from the editor. This info is used to restore the editing state * after temporary losses of focus and recoverable changes like reordering * the model, or changes that derive from the underlying node */ void saveEditingState() { storedFd = _getSelection(); if (isEditing()) { InplaceEditor ine = getEditor().getInplaceEditor(); if (ine != null) { partialValue = ine.getValue(); } } }
/** Temporarily store the currently edited feature descriptor and partial * value from the editor. This info is used to restore the editing state * after temporary losses of focus and recoverable changes like reordering * the model, or changes that derive from the underlying node */ void saveEditingState() { storedFd = _getSelection(); if (isEditing()) { InplaceEditor ine = getEditor().getInplaceEditor(); if (ine != null) { partialValue = ine.getValue(); } } }