Uses of Class
com.im.df.api.support.SelectionDescription
-
Packages that use SelectionDescription Package Description com.im.df.api.dml API Status: 2 - Pretty stable Provides the interfaces that provide data access (create, read, update, delete) for the items in the data model of Discovery Informatics Framework.com.im.df.api.support API Status: 1 - Stable Provides various support classes used by the Discovery Informatics Framework API (com.im.df.api.*).com.im.df.api.util API Status: 2 - Pretty stable Provides various utilities and convenience methods to be used on top of DIF objects. -
-
Uses of SelectionDescription in com.im.df.api.dml
Methods in com.im.df.api.dml that return SelectionDescription Modifier and Type Method Description SelectionDescription
DFResultSet.VertexState. getSelection()
Gets the current selection descriptor.Methods in com.im.df.api.dml with parameters of type SelectionDescription Modifier and Type Method Description void
DFResultSet.VertexState. setSelection(SelectionDescription selection, com.im.commons.progress.DFEnvironmentRO env)
Set selection on this level of result set. -
Uses of SelectionDescription in com.im.df.api.support
Fields in com.im.df.api.support declared as SelectionDescription Modifier and Type Field Description static SelectionDescription
SelectionDescription. EMPTY
Empty selection.Methods in com.im.df.api.support that return SelectionDescription Modifier and Type Method Description static SelectionDescription
SelectionDescription. complement(SelectionDescription sd1, SelectionDescription sd2)
static SelectionDescription
SelectionDescription. convertToAbsoluteSubSelection(SelectionDescription selection, java.util.Collection<? extends java.lang.Integer> relativeSubselection)
Takes relative subselection in form of aCollection
and converts it to absolute subselection within the givenselection
.static SelectionDescription
SelectionDescription. convertToAbsoluteSubSelection(SelectionDescription selection, javax.swing.ListSelectionModel relativeSubselection)
Takes relative subselection in form of aListSelectionModel
and converts it to absolute subselection within the givenselection
.static SelectionDescription
SelectionDescription. create(int singleRowIndex)
static SelectionDescription
SelectionDescription. create(int minIndex, int maxIndex)
static SelectionDescription
SelectionDescription. create(SelectionDescription selection, SelectionDescription subSelection)
static SelectionDescription
SelectionDescription. create(SelectionDescription oldSel, java.util.List<? extends java.lang.Comparable<?>> oldIds, java.util.List<? extends java.lang.Comparable<?>> newIds)
This method can be used when ids are reordered or completely changed and you want to recalculate the selection.static SelectionDescription
SelectionDescription. create(SelectionDescription selection, javax.swing.ListSelectionModel listSubSelectionModel)
Returns a new selection having main selection same as a givenselection
and subselection corresponding to a givenListSelectionModel
.static SelectionDescription
SelectionDescription. create(java.util.List<? extends java.lang.Integer> indexes)
Crete a new selection based on the given indexes.static SelectionDescription
SelectionDescription. create(javax.swing.ListSelectionModel listSelectionModel)
Returns a new selection from aListSelectionModel
with empty subselection.static SelectionDescription
SelectionDescription. create(javax.swing.ListSelectionModel listSelectionModel, SelectionDescription subSelection)
Returns a new selection having main selection corresponding to a givenListSelectionModel
with subselection set to givensubSelection
parameter.SelectionDescription
SelectionDescription. getRelativeSubSelection()
Returns subselection of this selection but with indexes relative to this selection.SelectionDescription
SelectionDescription. getSubSelection()
Returns subselection within this selection.static SelectionDescription
SelectionDescription. intersection(SelectionDescription sd1, SelectionDescription sd2)
static SelectionDescription
SelectionDescription. move(SelectionDescription origSelection, int delta, int rowCount)
static SelectionDescription
SelectionDescription. union(SelectionDescription sd1, SelectionDescription sd2)
Methods in com.im.df.api.support with parameters of type SelectionDescription Modifier and Type Method Description static SelectionDescription
SelectionDescription. complement(SelectionDescription sd1, SelectionDescription sd2)
static SelectionDescription
SelectionDescription. convertToAbsoluteSubSelection(SelectionDescription selection, java.util.Collection<? extends java.lang.Integer> relativeSubselection)
Takes relative subselection in form of aCollection
and converts it to absolute subselection within the givenselection
.static SelectionDescription
SelectionDescription. convertToAbsoluteSubSelection(SelectionDescription selection, javax.swing.ListSelectionModel relativeSubselection)
Takes relative subselection in form of aListSelectionModel
and converts it to absolute subselection within the givenselection
.static SelectionDescription
SelectionDescription. create(SelectionDescription selection, SelectionDescription subSelection)
static SelectionDescription
SelectionDescription. create(SelectionDescription oldSel, java.util.List<? extends java.lang.Comparable<?>> oldIds, java.util.List<? extends java.lang.Comparable<?>> newIds)
This method can be used when ids are reordered or completely changed and you want to recalculate the selection.static SelectionDescription
SelectionDescription. create(SelectionDescription selection, javax.swing.ListSelectionModel listSubSelectionModel)
Returns a new selection having main selection same as a givenselection
and subselection corresponding to a givenListSelectionModel
.static SelectionDescription
SelectionDescription. create(javax.swing.ListSelectionModel listSelectionModel, SelectionDescription subSelection)
Returns a new selection having main selection corresponding to a givenListSelectionModel
with subselection set to givensubSelection
parameter.static SelectionDescription
SelectionDescription. intersection(SelectionDescription sd1, SelectionDescription sd2)
static SelectionDescription
SelectionDescription. move(SelectionDescription origSelection, int delta, int rowCount)
boolean
ViewDataConsumer. selectionChanged(DFResultSet.VertexState vs, SelectionDescription from, SelectionDescription to)
Notifies about change in selection fromfrom
selection toto
selection in a givenVertexState
.static SelectionDescription
SelectionDescription. union(SelectionDescription sd1, SelectionDescription sd2)
-
Uses of SelectionDescription in com.im.df.api.util
Constructors in com.im.df.api.util with parameters of type SelectionDescription Constructor Description BatchUpdater(DFEntityDataProvider edp, com.im.commons.progress.DFEnvironmentRW env, DFUndoManager undoManager, java.lang.String undoMsg, SelectionDescription selection, int failLimit)
BatchUpdater(DFEntityDataProvider edp, com.im.commons.progress.DFEnvironmentRW env, SelectionDescription selection, int failLimit)
-