|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.tool.user.ui.PaletteFrame
public class PaletteFrame
This class defines a component window in the side bar.
Nested Class Summary | |
---|---|
static class |
PaletteFrame.PlaceNewNode
Class that creates the node selected from the component menu. |
static interface |
PaletteFrame.PlaceNodeEventListener
Interface for a Palette object that can be added to the Palette frame |
static class |
PaletteFrame.PlaceNodeListener
Class to choose a location for new node placement. |
Method Summary | |
---|---|
void |
arcProtoChanged()
|
javax.swing.JPanel |
getTechPalette()
|
void |
loadForTechnology(Technology tech,
WindowFrame ww)
Set the Technology Palette to the current technology. |
void |
loadTechnologies(boolean makeCurrent)
Method to update the technology popup selector. |
void |
mouseClicked(java.awt.event.MouseEvent e)
|
void |
mouseEntered(java.awt.event.MouseEvent e)
|
void |
mouseExited(java.awt.event.MouseEvent e)
|
void |
mousePressed(java.awt.event.MouseEvent e)
|
void |
mouseReleased(java.awt.event.MouseEvent e)
|
static PaletteFrame |
newInstance(WindowFrame ww)
Method to create a new window on the screen that displays the component menu. |
static PaletteFrame.PlaceNodeListener |
placeInstance(java.lang.Object obj,
PaletteFrame.PlaceNodeEventListener palette,
boolean export)
Method to interactively place an instance of a node. |
void |
setCursor(java.awt.Cursor cursor)
Method to set the cursor that is displayed in the PaletteFrame. |
void |
setSelectedItem(java.lang.Object anObject)
Public function to set selected item in techSelector |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PaletteFrame newInstance(WindowFrame ww)
public void loadTechnologies(boolean makeCurrent)
makeCurrent
- true to keep the current technology selected,
false to set to the current technology.public void setSelectedItem(java.lang.Object anObject)
anObject
- public void setCursor(java.awt.Cursor cursor)
cursor
- the cursor to display here.public javax.swing.JPanel getTechPalette()
public void arcProtoChanged()
public void loadForTechnology(Technology tech, WindowFrame ww)
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
public static PaletteFrame.PlaceNodeListener placeInstance(java.lang.Object obj, PaletteFrame.PlaceNodeEventListener palette, boolean export)
obj
- the node to create.
If this is a NodeProto, one of these types is created.
If this is a NodeInst, one of these is created, and the specifics of this instance are copied.palette
- if not null, is notified of certain events during the placing of the node
If this is null, then the request did not come from the palette.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |