|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmegamek.client.ui.AWT.FiringDisplay.AimedShotHandler
class FiringDisplay.AimedShotHandler
| Constructor Summary | |
|---|---|
FiringDisplay.AimedShotHandler()
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent ev)
ActionListener, listens to the button in the dialog. |
boolean |
allowAimedShotWith(Mounted weapon)
Determines if a certain weapon may aimed at a specific hit location. |
void |
closeDialog()
|
int |
getAimingAt()
|
java.lang.String |
getAimingLocation()
Returns the name of aimed location. |
int |
getAimingMode()
|
boolean |
inAimingMode()
If in aiming mode. |
boolean |
isAimingAtLocation()
If a hit location is currently selected. |
void |
itemStateChanged(java.awt.event.ItemEvent ev)
ItemListener, listens to the radiobuttons in the dialog. |
void |
setAimingMode()
Sets the aiming mode, depending on the target and the attacker. |
void |
setEnableAll(boolean enableAll)
Enables the radiobuttons in the dialog. |
void |
setPartialCover(int partialCover)
|
void |
showDialog()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
FiringDisplay.AimedShotHandler()
| Method Detail |
|---|
public void showDialog()
public void closeDialog()
public void setEnableAll(boolean enableAll)
public void setPartialCover(int partialCover)
public int getAimingAt()
public int getAimingMode()
public java.lang.String getAimingLocation()
public void setAimingMode()
public boolean inAimingMode()
public boolean isAimingAtLocation()
public boolean allowAimedShotWith(Mounted weapon)
public void actionPerformed(java.awt.event.ActionEvent ev)
actionPerformed in interface java.awt.event.ActionListenerpublic void itemStateChanged(java.awt.event.ItemEvent ev)
itemStateChanged in interface java.awt.event.ItemListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||