Properties Defined in JComponent
  • AccessibleContext getAccessibleContext()
  • float getAlignmentX()
  • void setAlignmentX(float alignmentX)
  • float getAlignmentY()
  • void setAlignmentY(float alignmentY)
  • boolean getAutoscrolls()
  • void setAutoscrolls(boolean autoscrolls)
  • Color getBackground()
  • void setBackground(Color bg)
  • Border getBorder()
  • void setBorder(Border border)
  • int getDebugGraphicsOptions()
  • void setDebugGraphicsOptions(int debugOptions)
  • boolean isDoubleBuffered()
  • void setDoubleBuffered(boolean aFlag)
  • boolean isEnabled()
  • void setEnabled(boolean enabled)
  • boolean isFocusCycleRoot()
  • boolean isFocusTraversable()
  • Font getFont()
  • void setFont(Font font)
  • Color getForeground()
  • void setForeground(Color fg)
  • Graphics getGraphics()
  • int getHeight()
  • Insets getInsets()
  • boolean isManagingFocus()
  • Dimension getMaximumSize()
  • void setMaximumSize(Dimension maximumSize)
  • Dimension getMinimumSize()
  • void setMinimumSize(Dimension minimumSize)
  • Component getNextFocusableComponent()
  • void setNextFocusableComponent(Component aComponent)
  • boolean isOpaque()
  • void setOpaque(boolean isOpaque)
  • boolean isOptimizedDrawingEnabled()
  • boolean isPaintingTile()
  • Dimension getPreferredSize()
  • void setPreferredSize(Dimension preferredSize)
  • KeyStroke[] getRegisteredKeyStrokes()
  • boolean isRequestFocusEnabled()
  • void setRequestFocusEnabled(boolean aFlag)
  • JRootPane getRootPane()
  • String getToolTipText()
  • void setToolTipText(String text)
  • Container getTopLevelAncestor()
  • String getUIClassID()
  • boolean isValidateRoot()
  • boolean isVisible()
  • void setVisible(boolean aFlag)
  • Rectangle getVisibleRect()
  • int getWidth()
  • int getX()
  • int getY()


Figure 1