mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-28 05:51:04 +00:00
87 lines
2.8 KiB
C++
87 lines
2.8 KiB
C++
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
|
|
|
#ifndef __javax_swing_DefaultListSelectionModel__
|
|
#define __javax_swing_DefaultListSelectionModel__
|
|
|
|
#pragma interface
|
|
|
|
#include <java/lang/Object.h>
|
|
#include <gcj/array.h>
|
|
|
|
extern "Java"
|
|
{
|
|
namespace javax
|
|
{
|
|
namespace swing
|
|
{
|
|
class DefaultListSelectionModel;
|
|
namespace event
|
|
{
|
|
class EventListenerList;
|
|
class ListSelectionListener;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
class javax::swing::DefaultListSelectionModel : public ::java::lang::Object
|
|
{
|
|
|
|
public:
|
|
DefaultListSelectionModel();
|
|
virtual jint getSelectionMode();
|
|
virtual void setSelectionMode(jint);
|
|
virtual jint getAnchorSelectionIndex();
|
|
virtual void setAnchorSelectionIndex(jint);
|
|
virtual jint getLeadSelectionIndex();
|
|
virtual void setLeadSelectionIndex(jint);
|
|
virtual void moveLeadSelectionIndex(jint);
|
|
virtual jboolean isLeadAnchorNotificationEnabled();
|
|
virtual void setLeadAnchorNotificationEnabled(jboolean);
|
|
virtual jboolean getValueIsAdjusting();
|
|
virtual void setValueIsAdjusting(jboolean);
|
|
virtual jboolean isSelectionEmpty();
|
|
virtual jint getMinSelectionIndex();
|
|
virtual jint getMaxSelectionIndex();
|
|
virtual jboolean isSelectedIndex(jint);
|
|
virtual void addSelectionInterval(jint, jint);
|
|
virtual void removeSelectionInterval(jint, jint);
|
|
virtual void clearSelection();
|
|
private:
|
|
void fireDifference(::java::util::BitSet *, ::java::util::BitSet *);
|
|
public:
|
|
virtual void setSelectionInterval(jint, jint);
|
|
virtual void insertIndexInterval(jint, jint, jboolean);
|
|
virtual void removeIndexInterval(jint, jint);
|
|
public: // actually protected
|
|
virtual void fireValueChanged(jboolean);
|
|
virtual void fireValueChanged(jint, jint);
|
|
virtual void fireValueChanged(jint, jint, jboolean);
|
|
public:
|
|
virtual void addListSelectionListener(::javax::swing::event::ListSelectionListener *);
|
|
virtual void removeListSelectionListener(::javax::swing::event::ListSelectionListener *);
|
|
virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
|
|
virtual JArray< ::javax::swing::event::ListSelectionListener * > * getListSelectionListeners();
|
|
virtual ::java::lang::Object * clone();
|
|
private:
|
|
static const jlong serialVersionUID = -5718799865110415860LL;
|
|
public: // actually protected
|
|
::javax::swing::event::EventListenerList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) listenerList;
|
|
public: // actually package-private
|
|
jint selectionMode;
|
|
jint leadSelectionIndex;
|
|
jint anchorSelectionIndex;
|
|
public: // actually protected
|
|
jboolean leadAnchorNotificationEnabled;
|
|
public: // actually package-private
|
|
jboolean valueIsAdjusting;
|
|
::java::util::BitSet * sel;
|
|
::java::lang::Object * oldSel;
|
|
jboolean setLeadCalledFromAdd;
|
|
public:
|
|
static ::java::lang::Class class$;
|
|
};
|
|
|
|
#endif // __javax_swing_DefaultListSelectionModel__
|