ch.claudio.qtedit
Class Utility

java.lang.Object
  extended by ch.claudio.qtedit.Utility

public final class Utility
extends java.lang.Object

Version:
$Id: Utility.java 148 2006-09-14 20:52:32Z claudio $
Author:
Field Summary
static java.lang.String d250
          File name prefix for files on the external disc.
static java.awt.Insets insets
          Default insets for this application.
static int movieCount
          Number of movies handled by this program.
 
Method Summary
static java.awt.GridBagConstraints constraints()
          Return "standard" GridBagConstraints.
static java.lang.String frm2str(java.lang.Integer frames)
          Convert a frame count into time string displaying minutes, seconds and frame number.
static void initPanel(javax.swing.JPanel panel, java.lang.String title)
          Adds layout and border to existing panel
static javax.swing.JPanel newPanel(java.lang.String title)
          Create new bordered panel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

insets

public static final java.awt.Insets insets
Default insets for this application.


movieCount

public static final int movieCount
Number of movies handled by this program.

See Also:
Constant Field Values

d250

public static final java.lang.String d250
File name prefix for files on the external disc.

See Also:
Constant Field Values
Method Detail

constraints

public static java.awt.GridBagConstraints constraints()
Return "standard" GridBagConstraints.

Returns:
GridBagConstraints

newPanel

public static javax.swing.JPanel newPanel(java.lang.String title)
Create new bordered panel.

Parameters:
title - Text for the panel border.
Returns:
JPanel

initPanel

public static void initPanel(javax.swing.JPanel panel,
                             java.lang.String title)
Adds layout and border to existing panel

Parameters:
panel - Panel to modify
title - Text for the panel border.

frm2str

public static java.lang.String frm2str(java.lang.Integer frames)
Convert a frame count into time string displaying minutes, seconds and frame number.

Parameters:
frames - Frame number.
Returns:
Time string.