Package org.openstreetmap.josm.gui.io
Class UploadedObjectsSummaryPanel.PrimitiveListModel
- java.lang.Object
-
- javax.swing.AbstractListModel<OsmPrimitive>
-
- org.openstreetmap.josm.gui.io.UploadedObjectsSummaryPanel.PrimitiveListModel
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.ListModel<OsmPrimitive>
- Enclosing class:
- UploadedObjectsSummaryPanel
static class UploadedObjectsSummaryPanel.PrimitiveListModel extends javax.swing.AbstractListModel<OsmPrimitive>
A list model for a list of OSM primitives.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<OsmPrimitive>
primitives
-
Constructor Summary
Constructors Constructor Description PrimitiveListModel()
Constructs a newPrimitiveListModel
.PrimitiveListModel(java.util.List<OsmPrimitive> primitives)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OsmPrimitive
getElementAt(int index)
int
getSize()
void
setPrimitives(java.util.List<OsmPrimitive> primitives)
-
-
-
Field Detail
-
primitives
private transient java.util.List<OsmPrimitive> primitives
-
-
Constructor Detail
-
PrimitiveListModel
PrimitiveListModel()
Constructs a newPrimitiveListModel
.
-
PrimitiveListModel
PrimitiveListModel(java.util.List<OsmPrimitive> primitives)
-
-
Method Detail
-
setPrimitives
public void setPrimitives(java.util.List<OsmPrimitive> primitives)
-
getElementAt
public OsmPrimitive getElementAt(int index)
-
getSize
public int getSize()
-
-