com.softsynth.jmsl.view
Class PVDialogAdapter
java.lang.Object
com.softsynth.jmsl.view.PVDialogAdapter
- All Implemented Interfaces:
- PVComponent, PVDialog, PVFrame
- Direct Known Subclasses:
- Alert, BeanEditor, BooleanDialog, DimensionNameSpaceEditorDialog, JSynInitDialog, MidiInitDialog, NoteTextEditor, RepeatCountDialog, SampleFinderDialog, SAPScoreWriterDialog, ScoreDialog, SynthNoteDialog, TempoDialog, TimeSigDialog
public class PVDialogAdapter
- extends java.lang.Object
- implements PVDialog
- Author:
- Nick Didkovsky, (c) 2004 All rights reserved, Email:
didkovn@mail.rockefeller.edu
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
PVDialogAdapter
public PVDialogAdapter(java.awt.Frame f)
PVDialogAdapter
public PVDialogAdapter(java.awt.Frame f,
boolean modal)
add
public java.awt.Component add(java.awt.Component component)
- Specified by:
add in interface PVFrame
- Parameters:
component -
- Returns:
add
public java.awt.Component add(java.lang.String name,
java.awt.Component component)
- Specified by:
add in interface PVFrame
- Parameters:
name - component -
- Returns:
addWindowListener
public void addWindowListener(java.awt.event.WindowListener listener)
- Specified by:
addWindowListener in interface PVFrame
- Parameters:
listener -
dispose
public void dispose()
- Specified by:
dispose in interface PVFrame
equals
public boolean equals(java.lang.Object arg0)
- Overrides:
equals in class java.lang.Object
getBounds
public java.awt.Rectangle getBounds()
- Specified by:
getBounds in interface PVComponent
- Returns:
getComponent
public java.awt.Component getComponent()
- Specified by:
getComponent in interface PVComponent
- Returns:
getFontMetrics
public java.awt.FontMetrics getFontMetrics(java.awt.Font font)
- Specified by:
getFontMetrics in interface PVFrame
- Parameters:
font -
- Returns:
getPVMenuBar
public PVMenuBar getPVMenuBar()
- Specified by:
getPVMenuBar in interface PVFrame
- Returns:
getParent
public java.awt.Container getParent()
- Specified by:
getParent in interface PVComponent
- Returns:
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled in interface PVComponent
- Returns:
isShowing
public boolean isShowing()
- Specified by:
isShowing in interface PVFrame
- Returns:
pack
public void pack()
- Specified by:
pack in interface PVFrame
removeAll
public void removeAll()
- Specified by:
removeAll in interface PVFrame
setEnabled
public void setEnabled(boolean b)
- Specified by:
setEnabled in interface PVComponent
- Parameters:
b -
setFrameLayout
public void setFrameLayout(java.awt.LayoutManager layoutManager)
- Description copied from interface:
PVFrame
- Deliberately avoid calling this setLayout() to avoid null pointer
exception when overriding setLayout() in JFrame
- Specified by:
setFrameLayout in interface PVFrame
- Parameters:
layoutManager -
setPVMenuBar
public void setPVMenuBar(PVMenuBar menuBar)
- Specified by:
setPVMenuBar in interface PVFrame
- Parameters:
menuBar -
setLocation
public void setLocation(int x,
int y)
- Specified by:
setLocation in interface PVComponent
- Parameters:
x - y -
setResizable
public void setResizable(boolean f)
- Specified by:
setResizable in interface PVFrame
- Parameters:
f -
setSize
public void setSize(java.awt.Dimension dim)
- Specified by:
setSize in interface PVFrame
- Parameters:
dim -
setSize
public void setSize(int w,
int h)
- Specified by:
setSize in interface PVFrame
- Parameters:
w - h -
setTitle
public void setTitle(java.lang.String title)
- Specified by:
setTitle in interface PVFrame
- Parameters:
title -
setVisible
public void setVisible(boolean flag)
- Specified by:
setVisible in interface PVFrame
- Parameters:
flag -
toBack
public void toBack()
- Specified by:
toBack in interface PVFrame
toFront
public void toFront()
- Specified by:
toFront in interface PVFrame
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
validate
public void validate()
- Specified by:
validate in interface PVFrame
addKeyListener
public void addKeyListener(java.awt.event.KeyListener l)
- Specified by:
addKeyListener in interface PVComponent
- Parameters:
l -
removeKeyListener
public void removeKeyListener(java.awt.event.KeyListener l)
- Specified by:
removeKeyListener in interface PVComponent
- Parameters:
l -
getBackground
public java.awt.Color getBackground()
- Specified by:
getBackground in interface PVComponent
- Returns:
setBackground
public void setBackground(java.awt.Color color)
- Specified by:
setBackground in interface PVComponent
- Parameters:
color -
setFont
public void setFont(java.awt.Font font)
- Specified by:
setFont in interface PVComponent
getFont
public java.awt.Font getFont()
- Specified by:
getFont in interface PVComponent