gcc/libjava/javax/swing/JLabel.h

109 lines
3.2 KiB
C
Raw Normal View History

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_swing_JLabel__
#define __javax_swing_JLabel__
#pragma interface
#include <javax/swing/JComponent.h>
extern "Java"
{
namespace java
{
namespace awt
{
class Component;
class Font;
class Image;
}
}
namespace javax
{
namespace accessibility
{
class AccessibleContext;
}
namespace swing
{
class Icon;
class JLabel;
namespace plaf
{
class LabelUI;
}
}
}
}
class javax::swing::JLabel : public ::javax::swing::JComponent
{
public:
JLabel();
JLabel(::javax::swing::Icon *);
JLabel(::javax::swing::Icon *, jint);
JLabel(::java::lang::String *);
JLabel(::java::lang::String *, jint);
JLabel(::java::lang::String *, ::javax::swing::Icon *, jint);
virtual ::javax::swing::plaf::LabelUI * getUI();
virtual void setUI(::javax::swing::plaf::LabelUI *);
virtual void updateUI();
virtual ::java::lang::String * getUIClassID();
public: // actually protected
virtual ::java::lang::String * paramString();
public:
virtual ::java::lang::String * getText();
virtual void setText(::java::lang::String *);
virtual ::javax::swing::Icon * getIcon();
virtual void setIcon(::javax::swing::Icon *);
virtual ::javax::swing::Icon * getDisabledIcon();
virtual void setDisabledIcon(::javax::swing::Icon *);
virtual void setDisplayedMnemonic(jint);
virtual void setDisplayedMnemonic(jchar);
virtual jint getDisplayedMnemonic();
virtual void setDisplayedMnemonicIndex(jint);
virtual jint getDisplayedMnemonicIndex();
public: // actually protected
virtual jint checkHorizontalKey(jint, ::java::lang::String *);
virtual jint checkVerticalKey(jint, ::java::lang::String *);
public:
virtual jint getIconTextGap();
virtual void setIconTextGap(jint);
virtual jint getVerticalAlignment();
virtual void setVerticalAlignment(jint);
virtual jint getHorizontalAlignment();
virtual void setHorizontalAlignment(jint);
virtual jint getVerticalTextPosition();
virtual void setVerticalTextPosition(jint);
virtual jint getHorizontalTextPosition();
virtual void setHorizontalTextPosition(jint);
virtual jboolean imageUpdate(::java::awt::Image *, jint, jint, jint, jint, jint);
virtual ::java::awt::Component * getLabelFor();
virtual void setLabelFor(::java::awt::Component *);
virtual void setFont(::java::awt::Font *);
virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
private:
static const jlong serialVersionUID = 5496508283662221534LL;
public: // actually package-private
static ::java::lang::String * LABEL_PROPERTY;
public: // actually protected
::java::awt::Component * __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) labelFor;
public: // actually package-private
::java::lang::String * text;
private:
jint horizontalAlignment;
jint horizontalTextPosition;
jint verticalAlignment;
jint verticalTextPosition;
::javax::swing::Icon * icon;
::javax::swing::Icon * disabledIcon;
jint displayedMnemonic;
jint displayedMnemonicIndex;
jint iconTextGap;
public:
static ::java::lang::Class class$;
};
#endif // __javax_swing_JLabel__