|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JLabel
org.globus.cog.gridface.impl.desktop.icons.AbstractIcon
To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JLabel |
JLabel.AccessibleJLabel |
| Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
protected String |
appClass
Application Container Class associated for this icon |
protected ObjectPair |
appClassArgs
Application Container Class constructor arguments |
protected CoGTop |
desktop
Desktop |
protected ImageIcon |
icon
image of icon |
protected AttributesHolder |
iconAttributes
Icon attributes used to edit in icon properties form |
protected String |
iconImageURI
image URI location |
protected String |
iconType
Icon type, default is NATIVE |
protected int |
id
icon unique ID |
protected static int |
id_counter
icon ID static counter |
protected String |
launchStaticMain
Application should be launched using static main method. |
protected ImageIcon |
origIconBackup
Original image icon backup |
protected List |
overlays
icon overlays |
protected JPopupMenu |
popupMenu
DesktopIcon JPopupMenu |
protected DesktopInternalFrameImpl |
propertiesFrame
Icon properties frame |
protected FormPanelSet |
propertiesPanelSet
Panel used to populate icon properties form |
protected boolean |
selected
is the icon selected |
protected ImageIcon |
selectedIcon
darkened image of selected icon |
int |
xPressLoc
x axis location where mouse was pressed |
int |
yPressLoc
y axis location where mouse was pressed |
| Fields inherited from class javax.swing.JLabel |
labelFor |
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface org.globus.cog.gridface.impl.desktop.interfaces.DesktopIcon |
DEFAULT_LOCATION, ICONTEXT_HEIGHT, ICONTEXT_WIDTH, NATIVEURI, sDELETEICON, sNEWICON, sPROPERTIES |
| Fields inherited from interface org.globus.cog.gridface.impl.desktop.interfaces.AccessPropertiesPanel |
sCancel_button, sOK_button |
| Fields inherited from interface org.globus.cog.gridface.impl.desktop.interfaces.AccessPreferences |
NO_TOSTRING, SUFFIX_TAG |
| Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
AbstractIcon(String applicationClass,
ObjectPair arguments,
String text,
String iconType,
String iconImageURI)
|
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.globus.cog.gridface.impl.desktop.interfaces.DesktopIcon |
canImportTypePair |
| Field Detail |
protected CoGTop desktop
protected JPopupMenu popupMenu
protected ImageIcon origIconBackup
protected ImageIcon icon
protected String iconImageURI
protected ImageIcon selectedIcon
protected List overlays
protected AttributesHolder iconAttributes
protected String iconType
protected String appClass
protected ObjectPair appClassArgs
protected String launchStaticMain
protected int id
protected static int id_counter
protected boolean selected
public int xPressLoc
public int yPressLoc
protected DesktopInternalFrameImpl propertiesFrame
protected FormPanelSet propertiesPanelSet
| Constructor Detail |
public AbstractIcon(String applicationClass,
ObjectPair arguments,
String text,
String iconType,
String iconImageURI)
throws Exception
| Method Detail |
public final void remove()
remove in interface AccessIconPropertiespublic void launch()
launch in interface ExecutesLaunchpublic final String getIconType()
getIconType in interface AccessIconPropertiespublic final String getIconImageURI()
getIconImageURI in interface AccessIconPropertiespublic String getDefaultIconImageURI()
getDefaultIconImageURI in interface AccessIconPropertiespublic final void setIconImageURI(String imageURI)
setIconImageURI in interface AccessIconPropertiespublic final void setIconImage(ImageIcon iconImage)
setIconImage in interface AccessIconProperties
public final void addOverlay(String overlayName,
boolean instantUpdate)
addOverlay in interface AccessImageOverlaypublic final void removeAllOverlays()
removeAllOverlays in interface AccessImageOverlaypublic final void removeOverlay(String overlayName)
removeOverlay in interface AccessImageOverlaypublic final void doOverlay()
doOverlay in interface AccessImageOverlaypublic String getDefaultIconText()
getDefaultIconText in interface AccessIconPropertiespublic final void setIconText(String text)
setIconText in interface AccessIconPropertiespublic String getIconText()
getIconText in interface AccessIconPropertiespublic final void setIconType(String iconType)
setIconType in interface AccessIconPropertiespublic final Dimension getDimension()
getDimension in interface AccessIconPropertiespublic final boolean isSelected()
isSelected in interface AccessIconPropertiespublic final void setSelected(boolean selection)
setSelected in interface AccessIconPropertiespublic final int getId()
getId in interface AccessIconPropertiespublic final JPopupMenu getPopup()
getPopup in interface AccessPopuppublic final void setPopup(JPopupMenu desktopPopup)
setPopup in interface AccessPopuppublic final boolean addPopupMenuItem(JMenuItem newMenuItem)
addPopupMenuItem in interface AccessPopuppublic void configurePopup(JPopupMenu popup)
configurePopup in interface AccessPopup
public final void showPopupAt(int xLoc,
int yLoc)
showPopupAt in interface AccessPopuppublic final void setDesktop(CoGTop myDesktop)
setDesktop in interface AccessDesktoppublic final CoGTop getDesktop()
getDesktop in interface AccessDesktoppublic final String getAppClass()
getAppClass in interface AccessIconPropertiespublic final void setAppClass(String myAppClass)
setAppClass in interface AccessIconPropertiespublic final ObjectPair getAppClassArgsObject()
getAppClassArgsObject in interface AccessIconPropertiespublic final String getAppClassArgs()
getAppClassArgs in interface AccessIconPropertiespublic final void setAppClassArgs(String args)
setAppClassArgs in interface AccessIconPropertiespublic final void setAppClassArgsObject(ObjectPair args)
setAppClassArgsObject in interface AccessIconPropertiespublic AttributesHolder getAttributesHolder()
getAttributesHolder in interface DesktopIconpublic String getUseMainMethod()
getUseMainMethod in interface AccessIconPropertiespublic void setUseMainMethod(String sBoolean)
setUseMainMethod in interface AccessIconPropertiespublic final CanImportActionProxy getCanImportActionProxy()
getCanImportActionProxy in interface AccessActionProxypublic final ImportDataActionProxy getImportDataActionProxy()
getImportDataActionProxy in interface AccessActionProxypublic final MouseActionProxy getMouseActionProxy()
getMouseActionProxy in interface AccessActionProxypublic void savePreferences(Preferences iconNode)
savePreferences in interface AccessPreferencespublic void loadPreferences(Preferences iconNode)
loadPreferences in interface AccessPreferencespublic JComponent getPropertiesPanel()
getPropertiesPanel in interface AccessPropertiesPanelpublic final void processPropertiesOKButton()
processPropertiesOKButton in interface AccessPropertiesPanelpublic final void processPropertiesCancelButton()
processPropertiesCancelButton in interface AccessPropertiesPanel
public boolean canImportToComponent(JComponent dropComponent,
DesktopIconGroup iconGroup)
canImportToComponent in interface CanImportActionProxy
public void mouseClicked(Object source,
int clickCount,
boolean isLeftMouseClick,
int xLoc,
int yLoc)
mouseClicked in interface MouseActionProxy
public boolean importDataToComponent(JComponent dropComponent,
Transferable t,
JComponent dragComponent,
Point dragPoint,
Point dropPoint)
importDataToComponent in interface ImportDataActionProxypublic final JInternalFrame getPropertiesFrame()
getPropertiesFrame in interface AccessPropertiesPanelpublic void showIconProperties()
showIconProperties in interface AccessPropertiesPanelpublic int compareTo(Object o)
compareTo in interface Comparable
public void setLocation(int x,
int y)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||