e0441a5bfb
libjava/ 2008-06-28 Matthias Klose <doko@ubuntu.com> Import GNU Classpath (classpath-0_97_2-release). * Regenerate class and header files. * Regenerate auto* files. * gcj/javaprims.h: Define jobjectRefType. * jni.cc (_Jv_JNI_GetObjectRefType): New (stub only). (_Jv_JNIFunctions): Initialize GetObjectRefType. * gnu/classpath/jdwp/VMVirtualMachine.java, java/security/VMSecureRandom.java: Merge from classpath. * HACKING: Fix typo. * ChangeLog-2007: New file. * configure.ac: Set JAVAC, pass --disable-regen-headers to classpath. libjava/classpath/ 2008-06-28 Matthias Klose <doko@ubuntu.com> * m4/ac_prog_javac.m4: Disable check for JAVAC, when not configured with --enable-java-maintainer-mode. * aclocal.m4, configure: Regenerate. * native/jni/gstreamer-peer/Makefile.am: Do not link with libclasspathnative. * native/jni/gstreamer-peer/Makefile.in: Regenerate. * tools/Makefile.am, lib/Makefile.am: Use JAVAC for setting JCOMPILER, drop flags not understood by gcj. From-SVN: r137223
111 lines
3.6 KiB
C++
111 lines
3.6 KiB
C++
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
|
|
|
#ifndef __javax_swing_tree_DefaultTreeCellEditor__
|
|
#define __javax_swing_tree_DefaultTreeCellEditor__
|
|
|
|
#pragma interface
|
|
|
|
#include <java/lang/Object.h>
|
|
#include <gcj/array.h>
|
|
|
|
extern "Java"
|
|
{
|
|
namespace java
|
|
{
|
|
namespace awt
|
|
{
|
|
class Color;
|
|
class Component;
|
|
class Container;
|
|
class Font;
|
|
namespace event
|
|
{
|
|
class ActionEvent;
|
|
}
|
|
}
|
|
}
|
|
namespace javax
|
|
{
|
|
namespace swing
|
|
{
|
|
class Icon;
|
|
class JTree;
|
|
class Timer;
|
|
namespace event
|
|
{
|
|
class CellEditorListener;
|
|
class EventListenerList;
|
|
class TreeSelectionEvent;
|
|
}
|
|
namespace tree
|
|
{
|
|
class DefaultTreeCellEditor;
|
|
class DefaultTreeCellRenderer;
|
|
class TreeCellEditor;
|
|
class TreePath;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
class javax::swing::tree::DefaultTreeCellEditor : public ::java::lang::Object
|
|
{
|
|
|
|
public:
|
|
DefaultTreeCellEditor(::javax::swing::JTree *, ::javax::swing::tree::DefaultTreeCellRenderer *);
|
|
DefaultTreeCellEditor(::javax::swing::JTree *, ::javax::swing::tree::DefaultTreeCellRenderer *, ::javax::swing::tree::TreeCellEditor *);
|
|
private:
|
|
void writeObject(::java::io::ObjectOutputStream *);
|
|
void readObject(::java::io::ObjectInputStream *);
|
|
public:
|
|
virtual void setBorderSelectionColor(::java::awt::Color *);
|
|
virtual ::java::awt::Color * getBorderSelectionColor();
|
|
virtual void setFont(::java::awt::Font *);
|
|
virtual ::java::awt::Font * getFont();
|
|
virtual ::java::awt::Component * getTreeCellEditorComponent(::javax::swing::JTree *, ::java::lang::Object *, jboolean, jboolean, jboolean, jint);
|
|
virtual ::java::lang::Object * getCellEditorValue();
|
|
virtual jboolean isCellEditable(::java::util::EventObject *);
|
|
virtual jboolean shouldSelectCell(::java::util::EventObject *);
|
|
virtual jboolean stopCellEditing();
|
|
virtual void cancelCellEditing();
|
|
private:
|
|
void finish();
|
|
public:
|
|
virtual void addCellEditorListener(::javax::swing::event::CellEditorListener *);
|
|
virtual void removeCellEditorListener(::javax::swing::event::CellEditorListener *);
|
|
virtual JArray< ::javax::swing::event::CellEditorListener * > * getCellEditorListeners();
|
|
virtual void valueChanged(::javax::swing::event::TreeSelectionEvent *);
|
|
virtual void actionPerformed(::java::awt::event::ActionEvent *);
|
|
public: // actually protected
|
|
virtual void setTree(::javax::swing::JTree *);
|
|
virtual jboolean shouldStartEditingTimer(::java::util::EventObject *);
|
|
virtual void startEditingTimer();
|
|
virtual jboolean canEditImmediately(::java::util::EventObject *);
|
|
virtual jboolean inHitRegion(jint, jint);
|
|
virtual void determineOffset(::javax::swing::JTree *, ::java::lang::Object *, jboolean, jboolean, jboolean, jint);
|
|
virtual void prepareForEditing();
|
|
virtual ::java::awt::Container * createContainer();
|
|
virtual ::javax::swing::tree::TreeCellEditor * createTreeCellEditor();
|
|
private:
|
|
::javax::swing::event::EventListenerList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) listenerList;
|
|
public: // actually protected
|
|
::javax::swing::tree::TreeCellEditor * realEditor;
|
|
::javax::swing::tree::DefaultTreeCellRenderer * renderer;
|
|
::java::awt::Container * editingContainer;
|
|
::java::awt::Component * editingComponent;
|
|
jboolean canEdit;
|
|
jint offset;
|
|
::javax::swing::JTree * tree;
|
|
::javax::swing::tree::TreePath * lastPath;
|
|
::javax::swing::Timer * timer;
|
|
jint lastRow;
|
|
::java::awt::Color * borderSelectionColor;
|
|
::javax::swing::Icon * editingIcon;
|
|
::java::awt::Font * font;
|
|
public:
|
|
static ::java::lang::Class class$;
|
|
};
|
|
|
|
#endif // __javax_swing_tree_DefaultTreeCellEditor__
|