|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Panel | +--Free.awt.FreePanel
FreePanel
Inner classes inherited from class java.awt.Component |
java.awt.Component.AWTTreeLock |
Field Summary | |
(package private) int |
anchor
|
(package private) java.awt.Color |
backgroundColor
|
(package private) int |
bottom
|
(package private) java.awt.Color |
darkerColor
|
(package private) java.awt.GridBagLayout |
gbl
|
(package private) int |
left
|
(package private) java.awt.Color |
lighterColor
|
protected int |
myHeight
|
protected int |
myWidth
|
static int |
RAISED
|
(package private) int |
right
|
protected int |
style
|
protected java.lang.String |
text
|
static int |
TEXT_OFFSET
|
protected int |
thickness
|
(package private) int |
top
|
Fields inherited from class java.awt.Container |
component,
containerListener,
layoutMgr,
ncomponents |
Fields inherited from class java.awt.Component |
actionListenerK,
adjustmentListenerK,
appContext,
background,
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
componentListener,
componentListenerK,
componentOrientation,
containerListenerK,
cursor,
dropTarget,
enabled,
eventMask,
focusListener,
focusListenerK,
font,
foreground,
hasFocus,
height,
incRate,
inputMethodListener,
inputMethodListenerK,
isInc,
isPacked,
itemListenerK,
keyListener,
keyListenerK,
LEFT_ALIGNMENT,
locale,
LOCK,
minSize,
mouseListener,
mouseListenerK,
mouseMotionListener,
mouseMotionListenerK,
newEventsOnly,
ownedWindowK,
parent,
peer,
peerFont,
popups,
prefSize,
RIGHT_ALIGNMENT,
textListenerK,
TOP_ALIGNMENT,
valid,
visible,
width,
windowListenerK,
x,
y |
Constructor Summary | |
FreePanel()
|
|
FreePanel(int style)
|
|
FreePanel(java.lang.String text)
|
Method Summary | |
void |
addComponent(int row,
int col,
int high,
int wide,
int padx,
int pady,
int fill,
float weightx,
float weighty,
java.awt.Component theComponent)
|
void |
addNotify()
|
void |
drawRaisedFrame(java.awt.Graphics g)
|
java.awt.Insets |
getInsets()
|
void |
getMetrics()
|
void |
paint(java.awt.Graphics g)
|
void |
printCaption(java.awt.Graphics g)
|
void |
setAnchor(int Anchor)
|
void |
setFont(java.awt.Font f)
|
void |
setGridHeights(int[] rowHeights)
|
void |
setGridWidths(int[] colWidths)
|
void |
setInsets(int Top,
int Left,
int Bottom,
int Right)
|
static void |
showSplash(int duration)
A simple little method, adatped from O'Reilly's 'Java Swing', to show a title screen in the centre of the screen for a certain time. |
Methods inherited from class java.awt.Panel |
|
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
applyOrientation,
countComponents,
deliverEvent,
dispatchEventImpl,
dispatchEventToSelf,
doLayout,
eventEnabled,
findComponentAt,
findComponentAt,
getAlignmentX,
getAlignmentY,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents_NoClientCode,
getComponents,
getCursorTarget,
getLayout,
getMaximumSize,
getMinimumSize,
getMouseEventTarget,
getPreferredSize,
getWindow,
insets,
invalidate,
invalidateTree,
isAncestorOf,
layout,
lightweightPrint,
list,
list,
locate,
minimumSize,
nextFocus,
paintComponents,
paramString,
postProcessKeyEvent,
postsOldMouseEvents,
preferredSize,
preProcessKeyEvent,
print,
printComponents,
printHeavyweightComponents,
processContainerEvent,
processEvent,
proxyEnableEvents,
proxyRequestFocus,
remove,
remove,
removeAll,
removeContainerListener,
removeNotify,
setCursor,
setFocusOwner,
setLayout,
transferFocus,
update,
updateCursor,
validate,
validateTree |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
addPropertyChangeListener,
areInputMethodsEnabled,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
firePropertyChange,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont_NoClientCode,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getHeight,
getInputContext,
getInputMethodRequests,
getIntrinsicCursor,
getLocale,
getLocation,
getLocation,
getLocationOnScreen,
getName,
getNativeContainer,
getParent_NoClientCode,
getParent,
getPeer,
getSize,
getSize,
getToolkit,
getToolkitImpl,
getTreeLock,
getWidth,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
hide,
imageUpdate,
inside,
isDisplayable,
isDoubleBuffered,
isEnabled,
isEnabledImpl,
isFocusTraversable,
isLightweight,
isOpaque,
isShowing,
isValid,
isVisible,
keyDown,
keyUp,
list,
list,
list,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
postEvent,
prepareImage,
prepareImage,
printAll,
processComponentEvent,
processFocusEvent,
processInputMethodEvent,
processKeyEvent,
processMouseEvent,
processMouseMotionEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removePropertyChangeListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
resize,
resize,
setBackground,
setBounds,
setBounds,
setComponentOrientation,
setDropTarget,
setEnabled,
setForeground,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
setVisible,
show,
show,
size,
toString,
transferFocus |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final int TEXT_OFFSET
protected int style
protected int thickness
protected int myWidth
protected int myHeight
protected java.lang.String text
java.awt.GridBagLayout gbl
public static final int RAISED
int top
int left
int bottom
int right
java.awt.Color backgroundColor
java.awt.Color lighterColor
java.awt.Color darkerColor
int anchor
Constructor Detail |
public FreePanel()
public FreePanel(int style)
public FreePanel(java.lang.String text)
Method Detail |
public void addComponent(int row, int col, int high, int wide, int padx, int pady, int fill, float weightx, float weighty, java.awt.Component theComponent)
public void setInsets(int Top, int Left, int Bottom, int Right)
public void setAnchor(int Anchor)
public void setGridWidths(int[] colWidths)
public void setGridHeights(int[] rowHeights)
public void addNotify()
public java.awt.Insets getInsets()
public void getMetrics()
public void setFont(java.awt.Font f)
public void paint(java.awt.Graphics g)
public void drawRaisedFrame(java.awt.Graphics g)
public void printCaption(java.awt.Graphics g)
public static void showSplash(int duration)
duration
- The time to show the screen for
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |