Changes tooltip row size. Adds warning suppression for specific warnings. Adds work on the new MediaService (Work in Progress)

cusax-fix
Emil Ivov 17 years ago
parent 3fa60052e6
commit 51c6fdf53e

@ -1436,6 +1436,7 @@ public MoveMetaContactThread( MetaContact srcContact,
this.destGroup = destGroup;
}
@SuppressWarnings("fallthrough")
public void run()
{
if (!ConfigurationManager.isMoveContactConfirmationRequested())

@ -15,13 +15,13 @@
/**
* The tooltip shown over a contact in the contact list.
*
*
* @author Yana Stamcheva
*/
public class ExtendedTooltip
extends JToolTip
{
private static final int textRowHeight = 25;
private static final int textRowHeight = 15;
private final JLabel imageLabel = new JLabel();
@ -73,12 +73,12 @@ public ExtendedTooltip(boolean isListViewEnabled)
mainPanel.add(titleLabel, BorderLayout.NORTH);
}
this.add(mainPanel);
this.add(mainPanel);
}
/**
* Sets the given image to this tooltip.
*
*
* @param imageIcon The image icon to set.
*/
public void setImage(ImageIcon imageIcon)
@ -89,7 +89,7 @@ public void setImage(ImageIcon imageIcon)
/**
* Sets the title of the tooltip. The text would be shown in bold on the top
* of the tooltip panel.
*
*
* @param titleText The title of the tooltip.
*/
public void setTitle(String titleText)
@ -107,7 +107,7 @@ public void setTitle(String titleText)
/**
* Adds an icon-string list, which would appear on the right of the image
* panel.
*
*
* @param icon the icon to show
* @param text the name to show
*/

@ -42,5 +42,13 @@ public interface MediaService
*/
public List<MediaDevice> getDevices(MediaType mediaType);
/**
* Creates a <tt>MediaStream</tt> that will be using the specified
* <tt>MediaDevice</tt> for both capture and playback of media exchanged
*
* @return
*/
public MediaStream createMediaStream();
}

@ -14,8 +14,6 @@
* <p>
*
* @author Emil Ivov
* @author Lubomir Marinov
* @author Emanuel Onica
*/
public interface MediaStream
{

Loading…
Cancel
Save